added additional warning flags
authorDavid Schleef <ds@schleef.org>
Thu, 19 Oct 2000 06:30:39 +0000 (06:30 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 19 Oct 2000 06:30:39 +0000 (06:30 +0000)
comedi_calibrate/Makefile
comedi_config/Makefile
lib/Makefile
testing/Makefile

index 7d71128d1aaae6ec7dd22b70c1f7e6a59acbaaa1..b9fc7867bbab7a70c29fe7891836a02dce689730 100644 (file)
@@ -1,7 +1,7 @@
 
 
 
-CFLAGS +=-I ../include -I . -O2 -Wall
+CFLAGS =-I ../include -I . -O2 -Wall -Wstrict-prototypes
 LDFLAGS=-L../lib/ -lcomedi -lm
 
 
@@ -13,4 +13,4 @@ comedi_calibrate: comedi_calibrate.o
        $(CC) -o comedi_calibrate comedi_calibrate.o $(LDFLAGS)
 
 clean:
-       -rm *.o $(BINS)
+       -rm -f *.o $(BINS)
index 1fe9eee754365120f05453aa76da53264b039ef7..3ac75f68db2b100a966a721571935cac5865f709 100644 (file)
@@ -1,5 +1,5 @@
 
-CFLAGS=-Wall -O2 -I../include
+CFLAGS=-Wall -Wstrict-prototypes -O2 -I../include
 #LDFLAGS=-L../lib/ -lcomedi
 LDFLAGS=
 
index 6ffbdbf8b910a29ca874df7147d71b99b7ec6f5e..83a2406aa80800e35413e785f997110beb92e549 100644 (file)
@@ -1,5 +1,5 @@
 
-CFLAGS=-fPIC -Wall -O2 -I../include -I.
+CFLAGS = -fPIC -Wall -Wstrict-prototypes -O2 -I../include -I.
 
 OBJS=comedi.o timer.o sv.o range.o ioctl.o filler.o timed.o error.o \
        dio.o data.o get.o
index ec1f9f5aeb1900590d6c56cc9aeece0d40445d1d..14b71ccc05967396e30e00f20b5accbacb996d04 100644 (file)
@@ -1,7 +1,7 @@
 
 
 
-CFLAGS +=-I ../include -I . -O2 -Wall
+CFLAGS =-I ../include -I . -O2 -Wall -Wstrict-prototypes
 LDFLAGS=-L../lib/ -lcomedi
 
 
@@ -14,6 +14,6 @@ $(TARG):      $(OBJS)
        $(CC) -o $(TARG) $(OBJS) $(LDFLAGS)
 
 clean:
-       -rm $(TARG) $(OBJS)
+       -rm -f $(TARG) $(OBJS)
 
 distclean: clean