aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ctronome/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ctronome/files/patch-Makefile')
-rw-r--r--audio/ctronome/files/patch-Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/ctronome/files/patch-Makefile b/audio/ctronome/files/patch-Makefile
new file mode 100644
index 00000000000..1c8cad9ad2a
--- /dev/null
+++ b/audio/ctronome/files/patch-Makefile
@@ -0,0 +1,16 @@
+exit--- Makefile.orig 2008-12-18 13:49:32.000000000 +0300
++++ Makefile 2010-08-18 21:47:01.000000000 +0400
+@@ -1,11 +1,11 @@
+ VERSION = 0.5.3
+-CC = gcc
++CC ?= gcc
+ OBJS = ctronome.o dsp.o routines.o
+
+ all: ctronome
+
+ %.o: %.c ctronome.h routines.h
+- $(CC) -c $<
++ $(CC) $(CFLAGS) -c $<
+
+ ctronome: $(OBJS)
+ $(CC) -o ctronome $(OBJS)