Added 'make strip'.
This commit is contained in:
parent
e31d6246c9
commit
e0b14f7cf6
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -29,10 +29,10 @@ TOPDIR= .
|
|||
RULESFILE ?= Rules.make
|
||||
WINRULESFILE = Rules.make.WIN32
|
||||
|
||||
CROSSDIR=/usr/local/cross-tools
|
||||
|
||||
include $(TOPDIR)/$(RULESFILE)
|
||||
|
||||
CROSSDIR=/usr/local/cross-tools
|
||||
|
||||
MAKEFLAGS= TOPDIR=$(shell pwd)
|
||||
MODULES= src tools
|
||||
|
||||
|
@ -119,6 +119,10 @@ freecraft.exe: src etlib/$(OBJDIR)prgname.$(OE) etlib/$(OBJDIR)getopt.$(OE) \
|
|||
etlib/$(OBJDIR)hash.$(OE) \
|
||||
-lSDLmain $(CLONELIBS) -I. $(CFLAGS)
|
||||
|
||||
strip:
|
||||
@if [ -f freecraft ]; then strip freecraft; fi
|
||||
@if [ -f freecraft.exe ]; then $(CROSSDIR)/i386-mingw32msvc/bin/strip freecraft.exe; fi
|
||||
|
||||
src/$(OBJDIR)freecraftrc.$(OE): src/freecraft.rc
|
||||
windres --include-dir contrib -osrc/$(OBJDIR)freecraftrc.$(OE) src/freecraft.rc
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue