mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-03 13:28:44 +00:00
Added unix_unit_test as a dependancy for mongoose
This commit is contained in:
1 parent
b12cc9fd49
commit
a92aa3bf49
1 file changed
+3
-3
+3
-3
@@ -66,13 +66,13 @@ unix_unit_test: $(LUA_SOURCES) Makefile
|
|||||||
# If not so, this can break some on some Linux distros which use
|
# If not so, this can break some on some Linux distros which use
|
||||||
# "-Wl,--as-needed" turned on by default in cc command.
|
# "-Wl,--as-needed" turned on by default in cc command.
|
||||||
# Also, this is turned in many other distros in static linkage builds.
|
# Also, this is turned in many other distros in static linkage builds.
|
||||||
$(PROG): $(TINY_SOURCES)
|
$(PROG): $(TINY_SOURCES) unix_unit_test
|
||||||
$(CC) $(TINY_SOURCES) -o $@ $(CFLAGS)
|
$(CC) $(TINY_SOURCES) -o $@ $(CFLAGS)
|
||||||
|
|
||||||
$(PROG)-lua: $(LUA_SOURCES)
|
$(PROG)-lua: $(LUA_SOURCES) unix_unit_test
|
||||||
$(CC) $(LUA_SOURCES) -o $@ $(LUA_SQLITE_FLAGS) $(CFLAGS)
|
$(CC) $(LUA_SOURCES) -o $@ $(LUA_SQLITE_FLAGS) $(CFLAGS)
|
||||||
|
|
||||||
unix: unix_unit_test $(PROG) $(PROG)-lua
|
unix: $(PROG) $(PROG)-lua
|
||||||
|
|
||||||
# Windows build
|
# Windows build
|
||||||
$(PROG).exe: $(LUA_SOURCES)
|
$(PROG).exe: $(LUA_SOURCES)
|
||||||
|
|||||||
Reference in new issue
Block a user