summaryrefslogtreecommitdiff
blob: a4b35a64fefefa99f18af36bbff49a19604be115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- Makefile.old	2006-03-30 08:54:03.000000000 +0200
+++ Makefile	2006-03-30 08:55:04.000000000 +0200
@@ -6,16 +6,16 @@
 version = 1.2.1
 
 CC = gcc
-CFLAGS = -Wall
-LDFLAGS = -lm
+CFLAGS += -Wall
+LIBS = -lm
 
 all: wavsplit wavren
 
 wavsplit:  wavsplit.c wavsplit.h
-	gcc $(CFLAGS) wavsplit.c $(LDFLAGS) -o $@
+	$(CC) $(CFLAGS) wavsplit.c $(LIBS) $(LDFLAGS) -o $@
 
 wavren: wavren.c
-	gcc $(CFLAGS) wavren.c -o $@
+	$(CC) $(CFLAGS) wavren.c $(LDFLAGS) -o $@
 
 install:
 	cp wavsplit $(BIN)