]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/utils/Makefile
Added missing spin-lock initialization and minor Makefiles update.
[lincan.git] / lincan / utils / Makefile
index 09ad3028a1d0de78ce7cb765662ab445b3290aa1..1912466555478ad781fab40829c46d0c69cfd21a 100644 (file)
@@ -9,14 +9,21 @@
 ########## The following options can be changed ##########
 
 # Compiler
+ifndef CC
 CC = gcc
+endif
 
-CFLAGS = -I../include -O2
+CFLAGS = -I../include -O2 -Wall
 
 all: default
 
+.PHONY: dep default subdirs clean cleandepend
+.PHONY: check-dir include-pass library-pass binary-pass utils-pass kernel-pass
+
 default: utils
 
+utils-pass: utils
+
 dep:
        $(CC) $(CFLAGS) $(CPPFLAGS) -w -E -M *.c $(MORE_C_FILES) > .depend
 
@@ -36,5 +43,7 @@ send: send.o
 clean :
        rm -f rxtx sendburst readburst send can-proxy *.o .depend
 
+distclean : clean
+
 -include .depend