-CFLAGS +=-I ../include -I . -O2 -Wall
+CFLAGS =-I ../include -I . -O2 -Wall -Wstrict-prototypes
LDFLAGS=-L../lib/ -lcomedi -lm
$(CC) -o comedi_calibrate comedi_calibrate.o $(LDFLAGS)
clean:
- -rm *.o $(BINS)
+ -rm -f *.o $(BINS)
-CFLAGS=-Wall -O2 -I../include
+CFLAGS=-Wall -Wstrict-prototypes -O2 -I../include
#LDFLAGS=-L../lib/ -lcomedi
LDFLAGS=
-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
-CFLAGS +=-I ../include -I . -O2 -Wall
+CFLAGS =-I ../include -I . -O2 -Wall -Wstrict-prototypes
LDFLAGS=-L../lib/ -lcomedi
$(CC) -o $(TARG) $(OBJS) $(LDFLAGS)
clean:
- -rm $(TARG) $(OBJS)
+ -rm -f $(TARG) $(OBJS)
distclean: clean