mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
Unit test target corrected
This commit is contained in:
1 parent
a8b38e4ab9
commit
3a60c5764d
1 file changed
+5
-2
+5
-2
@@ -12,6 +12,8 @@ ifeq ($(OS),Windows_NT)
|
|||||||
CFLAGS += $(CFLAGS_EXTRA)
|
CFLAGS += $(CFLAGS_EXTRA)
|
||||||
else
|
else
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
|
CC = g++
|
||||||
|
CFLAGS += -lssl -g -O0
|
||||||
|
|
||||||
ifeq ($(UNAME_S),Linux)
|
ifeq ($(UNAME_S),Linux)
|
||||||
CFLAGS += -ldl
|
CFLAGS += -ldl
|
||||||
@@ -56,7 +58,8 @@ websocket_html.c: websocket.html
|
|||||||
perl mkdata.pl $< > $@
|
perl mkdata.pl $< > $@
|
||||||
|
|
||||||
u:
|
u:
|
||||||
g++ unit_test.c -Wall -W -pedantic -lssl -g -O0 $(CFLAGS_EXTRA) && ./a.out
|
$(CC) unit_test.c $(OUT) $(CFLAGS)
|
||||||
|
./$@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-@$(RM) hello mjpg upload post websocket auth server multi_threaded websocket_html.c *.exe *.dSYM *.obj .*o
|
-@$(RM) hello mjpg upload post websocket auth server multi_threaded websocket_html.c *.exe *.dSYM *.obj .*o u a.out
|
||||||
Reference in new issue
Block a user