Import audio/stymulator version 0.21.a_3
[dports.git] / audio / stymulator / files / patch-stsoundlib__lzh__Makefile
1 --- ./stsoundlib/lzh/Makefile.orig      2010-04-23 13:49:47.000000000 +0200
2 +++ ./stsoundlib/lzh/Makefile   2010-04-23 13:49:47.000000000 +0200
3 @@ -1,14 +1,14 @@
4 -CC = gcc
5 +CC ?= gcc
6  AR = ar cr
7  RM = rm -f
8  
9 -CFLAGS = -Wall
10 +CFLAGS ?= -Wall
11  
12  liblzh.a: lzhlib.o
13         $(AR) liblzh.a lzhlib.o
14  
15  lzhlib.o: lzhlib.cpp lzh.h
16 -       $(CC) -c lzhlib.cpp
17 +       $(CC) $(CFLAGS) -c lzhlib.cpp
18  
19  clean:
20         $(RM) *~ *.o *.a