diff --git a/build/Makefile b/build/Makefile index fa61ee01..77edf020 100644 --- a/build/Makefile +++ b/build/Makefile @@ -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