Get CFLAGS from ../Config
authorDavid Schleef <ds@schleef.org>
Sun, 15 Jul 2001 23:14:09 +0000 (23:14 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 15 Jul 2001 23:14:09 +0000 (23:14 +0000)
demo/Makefile
lib/Makefile

index 87b34da5702bf5bcf60e380825aa6fdcdf8a35a8..745012efea66b285e3c7b3a32173ff65f0e3b842 100644 (file)
@@ -1,9 +1,9 @@
 
+include ../Config
 
 
-CFLAGS += -I ../include -I . -O2 -Wall -Wstrict-prototypes -g
-#CFLAGS += -I ../include -I . -Wall -Wstrict-prototypes -g
-LDFLAGS = -L../lib/ -lcomedi -lm
+CFLAGS += -I ../include -I .
+LDFLAGS += -L../lib/ -lcomedi -lm
 
 
 BINS=tut1 tut2
index d8d13fb11e9760b5729adc1d30de1385a04dcc2f..3fff0d01b1b6a157113f8c705621ae803e969b42 100644 (file)
@@ -1,5 +1,8 @@
 
-CFLAGS = -fPIC -Wall -Wstrict-prototypes -O2 -I../include -I.
+include ../Config
+include ../version
+
+CFLAGS += -fPIC -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 cmd.o buffer.o