Don't strip the exes in DEBUG=Y mode. After Simon Sobisch.

This commit is contained in:
William McBrine
2017-12-19 18:15:59 -05:00
parent e8d28bb305
commit cfd26fd8bc
6 changed files with 12 additions and 0 deletions

View File

@@ -49,7 +49,9 @@ clean:
-del *.exe
demos: $(DEMOS)
ifneq ($(DEBUG),Y)
strip *.exe
endif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
$(LIBEXE) $(LIBFLAGS) $@ $?

View File

@@ -57,7 +57,9 @@ clean:
-rm -rf *.o trace $(LIBCURSES) $(DEMOS)
demos: $(DEMOS)
ifneq ($(DEBUG),Y)
strip $(DEMOS)
endif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
ar rv $@ $?

View File

@@ -60,7 +60,9 @@ clean:
-del *.o $(CLEAN) *.exe
demos: $(DEMOS)
ifneq ($(DEBUG),Y)
strip *.exe
endif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
$(LIBEXE) $(LIBFLAGS) $@ $? $(POST)

View File

@@ -53,7 +53,9 @@ clean:
-rm -rf *.o trace $(LIBCURSES) $(DEMOS)
demos: $(DEMOS)
ifneq ($(DEBUG),Y)
strip $(DEMOS)
endif
$(LIBCURSES) : $(LIBOBJS) $(PDCOBJS)
ar rv $@ $?

View File

@@ -67,7 +67,9 @@ clean:
-rm -f $(CLEAN)
demos: $(DEMOS)
ifneq ($(DEBUG),Y)
strip *.exe
endif
$(LIBCURSES) : $(LIBDEPS)
$(LIBEXE) $(LIBFLAGS) $@ $?

View File

@@ -67,7 +67,9 @@ clean:
-del $(CLEAN)
demos: $(DEMOS)
ifneq ($(DEBUG),Y)
strip *.exe
endif
$(LIBCURSES) : $(LIBDEPS)
$(LIBEXE) $(LIBFLAGS) $@ $?