Commit 9b65f48d authored by Cedric Roux's avatar Cedric Roux

- Add -Wall to SCTP and S1AP libraries makefile

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4438 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 2acd0d94
......@@ -50,6 +50,7 @@ endif
-include *.d
CFLAGS = \
-Wall \
-DENB_MODE \
-DENABLE_USE_MME \
-DEMIT_ASN_DEBUG=1 \
......@@ -60,11 +61,12 @@ CFLAGS = \
$(ADD_CFLAGS) \
-DENB_MODE \
$(S1AP_CFLAGS) \
-Wuninitialized \
-Werror=implicit-function-declaration
$(libs1ap_OBJECTS): %.o : %.c
@echo "Compiling $<"
@$(CC) -c $(CFLAGS) -o $@ $<
$(CC) -c $(CFLAGS) -o $@ $<
@$(CC) -MM $(CFLAGS) $*.c > $*.d
@mv -f $*.d $*.d.tmp
@sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d
......
......@@ -9,9 +9,11 @@ libsctp_OBJECTS = \
-include .*.d
CFLAGS = \
-Wall \
$(S1AP_CFLAGS) \
-I../SCTP \
-DENB_MODE \
-Werror=uninitialized \
-Werror=implicit-function-declaration
$(libsctp_OBJECTS): %.o : %.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment