1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-13 16:30:06 +00:00

Using strip from enviroment to allow different strippers

This commit is contained in:
Dirk Engling 2021-06-06 03:02:14 +02:00
parent 298fe52f52
commit 80faf1c452

View File

@ -18,6 +18,7 @@ LIBOWFAT_HEADERS=$(PREFIX)/libowfat
LIBOWFAT_LIBRARY=$(PREFIX)/libowfat
BINDIR?=$(PREFIX)/bin
STRIP?=strip
#FEATURES+=-DWANT_V6
@ -71,7 +72,7 @@ CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
$(BINARY): $(OBJECTS) $(HEADERS)
$(CC) -o $@ $(OBJECTS) $(LDFLAGS)
strip $@
$(STRIP) $@
$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)
$(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS)
proxy: $(OBJECTS_proxy) $(HEADERS)