Always invoking test

This commit is contained in:
Sergey Lyubka 2013-09-28 00:15:24 +01:00
parent 079c99c47f
commit 96eb48902b

View File

@ -59,8 +59,7 @@ all:
mongoose.c: mod_lua.c mongoose.h Makefile
unix_unit_test: $(LUA_SOURCES) Makefile ../test/unit_test.c
$(CC) ../test/unit_test.c lua_5.2.1.c -o $@ $(CFLAGS) -g -O0
./$@
$(CC) ../test/unit_test.c lua_5.2.1.c $(CFLAGS) -g -O0 -o t && ./t
# Make sure that the compiler flags come last in the compilation string.
# If not so, this can break some on some Linux distros which use