ports/audio/stymulator/files/patch-stsoundlib_lzh_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

20 lines
344 B
Text

--- stsoundlib/lzh/Makefile.orig 2016-07-26 16:04:42 UTC
+++ stsoundlib/lzh/Makefile
@@ -1,14 +1,14 @@
-CC = gcc
+CC ?= gcc
AR = ar cr
RM = rm -f
-CFLAGS = -Wall
+CFLAGS ?= -Wall
liblzh.a: lzhlib.o
$(AR) liblzh.a lzhlib.o
lzhlib.o: lzhlib.cpp lzh.h
- $(CC) -c lzhlib.cpp
+ $(CC) $(CFLAGS) -c lzhlib.cpp
clean:
$(RM) *~ *.o *.a