summaryrefslogtreecommitdiff
blob: a1571f0fc576aa61fd77b68f92d6c304f88a0a95 (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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 1c3863a..b43fcff 100644
--- a/Makefile
+++ b/Makefile
@@ -51,13 +51,13 @@ uninstall-etc:
 ### MAIN PROGRAM
 
 $(OUTFILE): axel.o conf.o conn.o ftp.o http.o search.o tcp.o text.o
-	$(CC) *.o -o $(OUTFILE) $(LFLAGS)
+	$(CC) $(LDFLAGS) *.o -o $(OUTFILE) $(LFLAGS)
 ifndef DEBUG
 	-$(STRIP) $(OUTFILE)
 endif
 
 .c.o:
-	$(CC) -c $*.c -o $*.o -Wall $(CFLAGS)
+	$(CC) $(CPPFLAGS) -c $*.c -o $*.o -Wall $(CFLAGS)
 
 install-bin:
 	mkdir -p $(DESTDIR)$(BINDIR)/