summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2021-06-06 03:02:14 +0200
committerDirk Engling <erdgeist@erdgeist.org>2021-06-06 03:02:14 +0200
commit80faf1c452f6527877ded5dc5255031898abf4fb (patch)
treedfb9314c06c6972fd8b5c8f8f2bb0e07ec8e76a1
parent298fe52f520ed42ba80c952a5e39a380a9e47644 (diff)
Using strip from enviroment to allow different strippers
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c8366ca..c427462 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@ LIBOWFAT_HEADERS=$(PREFIX)/libowfat
18LIBOWFAT_LIBRARY=$(PREFIX)/libowfat 18LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
19 19
20BINDIR?=$(PREFIX)/bin 20BINDIR?=$(PREFIX)/bin
21STRIP?=strip
21 22
22#FEATURES+=-DWANT_V6 23#FEATURES+=-DWANT_V6
23 24
@@ -71,7 +72,7 @@ CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
71 72
72$(BINARY): $(OBJECTS) $(HEADERS) 73$(BINARY): $(OBJECTS) $(HEADERS)
73 $(CC) -o $@ $(OBJECTS) $(LDFLAGS) 74 $(CC) -o $@ $(OBJECTS) $(LDFLAGS)
74 strip $@ 75 $(STRIP) $@
75$(BINARY).debug: $(OBJECTS_debug) $(HEADERS) 76$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)
76 $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS) 77 $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS)
77proxy: $(OBJECTS_proxy) $(HEADERS) 78proxy: $(OBJECTS_proxy) $(HEADERS)