blob: 4f3d062f3619d73594eb3e3fdad88e4b24b06cd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Respect CC, CPPFLAGS and LDFLAGS.
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
CC=gcc
endif
tarsync: main.o names.o tar.o string-misc.o fs.o options.o excludes.o
- gcc $(CFLAGS) $^ -o tarsync -lcfile
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ -o tarsync -lcfile
all: tarsync
clean:
|