diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2021-06-06 03:02:14 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2021-06-06 03:02:14 +0200 |
commit | 80faf1c452f6527877ded5dc5255031898abf4fb (patch) | |
tree | dfb9314c06c6972fd8b5c8f8f2bb0e07ec8e76a1 /Makefile | |
parent | 298fe52f520ed42ba80c952a5e39a380a9e47644 (diff) |
Using strip from enviroment to allow different strippers
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,6 +18,7 @@ LIBOWFAT_HEADERS=$(PREFIX)/libowfat | |||
18 | LIBOWFAT_LIBRARY=$(PREFIX)/libowfat | 18 | LIBOWFAT_LIBRARY=$(PREFIX)/libowfat |
19 | 19 | ||
20 | BINDIR?=$(PREFIX)/bin | 20 | BINDIR?=$(PREFIX)/bin |
21 | STRIP?=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) |
77 | proxy: $(OBJECTS_proxy) $(HEADERS) | 78 | proxy: $(OBJECTS_proxy) $(HEADERS) |