Changeset 214 for trunk/src/emx/Makefile
- Timestamp:
- May 22, 2003, 12:34:46 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/src/emx/Makefile (modified) (3 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.12to1.13
r213 r214 52 52 CFLAGS = -Wall -mstack-arg-probe -Zmt $(CFLAGS.INC) $(CFLAGS.$(MODE)) $(CFLAGS.KIND) 53 53 # The additional C compiler flags for different build modes 54 CFLAGS.opt = -s -O3 -fomit-frame-pointer54 CFLAGS.opt = -s -O3 55 55 CFLAGS.dbg = -g 56 56 CFLAGS.aout = … … 78 78 LDFLAGS.KIND = $(foreach x,$(subst -, ,$(firstword $(subst /, ,$(subst $.,,$@)))),$(LDFLAGS.$x)) 79 79 # How to link a .exe file 80 DO.LINK.exe = $(LD) $(strip $(LDFLAGS) $(filter-out -l%,$1)) -o $@ $(^O) $(^ LIB) $(filter -l%,$1)80 DO.LINK.exe = $(LD) $(strip $(LDFLAGS) $(filter-out -l%,$1)) -o $@ $(^O) $(^DEF) $(^LIB) $(filter -l%,$1) 81 81 # How to link a .dll file 82 82 DO.LINK.dll = $(LD) $(strip $(LDFLAGS.DLL) $(filter-out -l%,$1)) -o $@ $(^O) $(^DEF) $(^LIB) $(filter -l%,$1) … … 133 133 ^DEF = $(filter %.def,$^) 134 134 # How to filter the libraries from $^ 135 ^LIB = $( filter %.$(if $(findstring omf,$(.TKIND)),lib,a),$^)135 ^LIB = $(strip $(filter %.a,$^) $(filter %.lib,$^)) 136 136 # This function finds a tool: if it has been already built, prefer it 137 137 FINDTOOL = $(firstword $(wildcard $.$(TOOLFMT)/$1$E) $(wildcard $(OUT)dbg/aout/$1$E) $1) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
