Revision 283f3f93 Makefile

View differences:

Makefile
25 25
Libs/mongoose/mongoose.o:
26 26
	git submodule init Libs/mongoose/
27 27
	git submodule update Libs/mongoose/
28
	make -C Libs/mongoose/
29
	$(CC) -c -o Libs/mongoose/mongoose.o Libs/mongoose/mongoose.c $(CFLAGS) -DMG_DISABLE_MQTT -DMG_DISABLE_JSON_RPC -DMG_DISABLE_SOCKETPAIR  -DMG_DISABLE_CGI # -DMG_DISABLE_HTTP_WEBSOCKET
28
	make -C Libs/mongoose/ CFLAGS="$(CFLAGS)" MONGOOSE_OPTS="$(MONGOOSE_OPTS)"
30 29

  
31 30
tests:
32
	make -C Test/
31
	make -C Test/ CFLAGS="$(CFLAGS)"
33 32
	Test/run_tests.sh
34 33

  
35 34
clean:
36 35
	make -C Test/ clean
36
	make -C Libs/mongoose clean
37 37
	rm -f *.o $(EXE) $(OBJS) $(LIBS)
38 38

  
39 39
.PHONY: all clean

Also available in: Unified diff