allow users to override CFLAGS

This fixes an issue with the Makefile that was not allowing users to
override cflags and keeping -Wall in the flags when compiling.
This commit is contained in:
William Hubbs 2009-03-08 21:05:24 -05:00
commit 40f152e11f

View file

@ -1,7 +1,5 @@
INSTALL = install
CFLAGS = -Wall
SRCS = \
cli.c \
espeakup.c \
@ -42,3 +40,6 @@ queue.o: queue.c espeakup.h
softsynth.o: softsynth.c espeakup.h
synth.o: synth.c espeakup.h
%.o: %.c
$(CC) -c -Wall $(CFLAGS) $(CPPFLAGS) -o $@ $<