freebsd-ports/audio/ctronome/files/patch-Makefile
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

17 lines
343 B
Text

exit--- Makefile.orig 2008-12-18 13:49:32.000000000 +0300
--- Makefile.orig 2014-09-29 18:48:56 UTC
+++ Makefile
@@ -1,11 +1,11 @@
VERSION = 0.5.5
-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)