UTest+MTest - Minor makefile fixes for travis-ci
authorJohn Hodge <[email protected]>
Mon, 12 May 2014 06:43:26 +0000 (14:43 +0800)
committerJohn Hodge <[email protected]>
Mon, 12 May 2014 06:43:26 +0000 (14:43 +0800)
Tools/NetTest/Makefile
Tools/nativelib/Makefile
Usermode/Libraries/Makefile.tpl

index f76c8b4..913a9be 100644 (file)
@@ -23,7 +23,7 @@ L_OBJ = vfs_shim.o nic.o tcpclient.o tcpserver.o helpers.o cmdline_backend.o
 N_OBJ = main.o tap.o mode_cmdline.o
 
 # Compilation Options
-CFLAGS := -Wall -std=gnu99 -g -Werror -O0 -pthread
+CFLAGS := -Wall -std=gnu99 -g -O0 -pthread
 CPPFLAGS := -I include/ -I ../nativelib/include
 K_CPPFLAGS := -I $(KERNEL_SRC)include -I $(MODULE_SRC) -I ../../Usermode/Libraries/ld-acess.so_src/include_exp/
 LDFLAGS += -Wl,--defsym,__buildnum=$(BUILD_NUM) -g -L .. -lpthread -lnativelib
index 1a50d88..8a8fc33 100644 (file)
@@ -19,7 +19,7 @@ KOBJ := $(KOBJ:%.o=obj/_Kernel/%.o)
 OBJ := $(NOBJ) $(LOBJ) $(KOBJ)
 BIN := ../libnativelib.a
 
-CFLAGS := -Wall -std=c99 -Werror
+CFLAGS := -Wall -std=c99
 CPPFLAGS := -I include
 
 
index 5c796c3..79bb845 100644 (file)
@@ -122,6 +122,8 @@ obj-native/%.no: %.c
 TEST_%: obj-native/TEST_%.no obj-native/%.no
        $(NCC) -g -o $@ $^
 
+.SECONDARY: %.no
+
 -include $(UTESTS:%=obj-native/TEST_%.no.dep)
 -include $(UTESTS:%=obj-native/%.no.dep)
 

UCC git Repository :: git.ucc.asn.au