mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 12:01:25 +00:00
Actually have the MorphOS-sw client link. Slightly smarter stripping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2234 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a6b4691c02
commit
603f07b5a3
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
|||
CC=gcc
|
||||
STRIP=strip
|
||||
|
||||
STRIPFLAGS=--strip-unneeded --remove-section=.comment
|
||||
|
||||
CPUOPTIMIZATIONS=
|
||||
|
||||
|
@ -513,7 +516,7 @@ ifeq ($(FTE_TARGET),morphos)
|
|||
SWCL_OBJS=$(SOFTWARE_OBJS) vid_morphos.o in_morphos.o snd_morphos.o cd_null.o sys_morphos.o
|
||||
SW_EXE_NAME=../fteqw.sw
|
||||
SWCL_EXE_NAME=../fteqwcl.sw
|
||||
SW_LDFLAGS=$(SWLDFLAGS) $(XLDFLAGS)
|
||||
SW_LDFLAGS=$(SWLDFLAGS) -ljpeg_shared -lpng_shared -lsyscall
|
||||
SW_CFLAGS=$(SWCFLAGS) -noixemul -D__MORPHOS_SHAREDLIBS
|
||||
SWB_DIR=sw_morphos
|
||||
SWCL_DIR=swcl_morphos
|
||||
|
@ -636,7 +639,7 @@ $(OUT_DIR)/$(EXE_NAME): $(OUT_DIR)/quakedef.h.gch $(addprefix $(OUT_DIR)/,
|
|||
|
||||
_out-rel:
|
||||
$(MAKE) $(OUT_DIR)/$(EXE_NAME) EXE_NAME="$(EXE_NAME)" OUT_DIR="$(OUT_DIR)" WCFLAGS="$(WCFLAGS) $(RELEASE_CFLAGS)" LDFLAGS="$(BASELDFLAGS) $(LDFLAGS)" OBJS="$(OBJS)"
|
||||
strip --strip-all $(OUT_DIR)/$(EXE_NAME)
|
||||
$(STRIP) $(STRIPFLAGS) $(OUT_DIR)/$(EXE_NAME)
|
||||
|
||||
_out-dbg:
|
||||
$(MAKE) $(OUT_DIR)/$(EXE_NAME) EXE_NAME="$(EXE_NAME)" OUT_DIR="$(OUT_DIR)" WCFLAGS="$(WCFLAGS) $(DEBUG_CFLAGS)" LDFLAGS="$(BASELDFLAGS) $(LDFLAGS)" OBJS="$(OBJS)"
|
||||
|
|
Loading…
Reference in a new issue