Description: Allow for extending of the compiler flags via command line
Author: Paul Gevers <paul@climbing.nl>
Forwarded: yes

Index: daisy-player/Makefile
===================================================================
--- daisy-player.orig/Makefile	2011-07-29 17:18:07.860588189 +0200
+++ daisy-player/Makefile	2011-07-29 18:02:25.893768646 +0200
@@ -3,12 +3,13 @@
 LD      = $(CC)
 LDLIBS  = -lncursesw -lidn -lsox
 OFILES  = daisy-player.o 
+CFLAGS  = -Wall
 
 all: $(OFILES)
 	$(LD) -Wall $(OFILES) $(LDLIBS) -o daisy-player
 
 daisy-player.o: daisy-player.c
-	$(CC) -Wall -D PREFIX=\"$(PREFIX)\" -c $< -o $@
+	$(CC) $(CFLAGS) -D PREFIX=\"$(PREFIX)\" -c $< -o $@
 
 clean:
 	rm -f *.o daisy-player
