summaryrefslogtreecommitdiffstats
path: root/audio/stymulator/files/patch-stsoundlib_lzh_Makefile
blob: 21326d69513e9b4321a85beca190d162380d6649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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
OpenPOWER on IntegriCloud