From: ian Date: Fri, 22 Oct 2004 19:04:06 +0000 (+0000) Subject: move CFLAGS into cprogs.make X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=31c1ba7cf2d5f8c5c405d972ff28e8b153d96de1;p=trains.git move CFLAGS into cprogs.make --- diff --git a/cprogs.make b/cprogs.make new file mode 100644 index 0000000..bdda244 --- /dev/null +++ b/cprogs.make @@ -0,0 +1,3 @@ +CFLAGS= -Wall -Wwrite-strings -Wpointer-arith \ + -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes \ + -O2 -g diff --git a/parport/Makefile b/parport/Makefile index d1fee23..0f9d8fd 100644 --- a/parport/Makefile +++ b/parport/Makefile @@ -1,6 +1,4 @@ -CFLAGS= -Wall -Wwrite-strings -Wpointer-arith \ - -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes \ - -O2 +include ../cprogs.make CPROGS_I= parport-ctl train-pic-prog-select SCRIPTS_I= odyssey-train