# "TEST=embedded" - test embedded API by building and testing test/embed.c
# "TEST=embedded" - test embedded API by building and testing test/embed.c
# "TEST=basic_tests" - perform basic tests only (no CGI, SSI..)
# "TEST=basic_tests" - perform basic tests only (no CGI, SSI..)
test:do_test
tests:
do_test:
perl test/test.pl $(TEST)
perl test/test.pl $(TEST)
release:clean
release:clean
F=mongoose-`perl -lne'/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1' mongoose.c`.tgz ;cd .. &&tar-czf x mongoose/{LICENSE,Makefile,bindings,examples,test,win32,mongoose.c,mongoose.h,mongoose.1,main.c}&&mv x mongoose/$$F
F=mongoose-`perl -lne'/define\s+MONGOOSE_VERSION\s+"(\S+)"/ and print $$1' mongoose.c`.tgz ;cd .. &&tar-czf x mongoose/{LICENSE,Makefile,bindings,examples,test,win32,mongoose.c,mongoose.h,mongoose.1,main.c}&&mv x mongoose/$$F