Changeset 808
- Timestamp:
- Aug 26, 2007, 6:11:49 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/dll/makefile (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/makefile
r734 r808 29 29 # 04 Jul 07 SHL Pass DEBUG settings to sub-make 30 30 # 04 Jul 07 SHL Add missing .AUTODEPEND 31 # 06 Aug 07 SHL Tweak CFLAGS for DEBUG builds 32 # 26 Aug 07 SHL Clean *.lrf 31 33 32 34 # Environment: 33 35 34 # DEBUG - not defined = release build, defined = debug build36 # DEBUG - not defined = release build, defined = debug build 35 37 36 38 BASE = fm3dll … … 57 59 58 60 # Keep this code in sync with makefile_pre.mk 59 !ifdef DEBUG # if defined on wmake command line61 !ifdef DEBUG # if defined on wmake command line 60 62 DEBUG_OPT = DEBUG=$(DEBUG) # set in case needed by sub-make 61 63 !else 62 !ifdef %DEBUG # if defined in environment63 DEBUG = $(%DEBUG) # use value from environment64 !ifdef %DEBUG # if defined in environment 65 DEBUG = $(%DEBUG) # use value from environment 64 66 DEBUG_OPT = DEBUG=$(DEBUG) # set in case needed by sub-make 65 67 !endif … … 72 74 # -bm multithread libs 73 75 # -bt=os2 target 74 # d1 line number debugging information76 # -d1 line number debugging information 75 77 # -d2 full symbolic debugging information 76 78 # -d3 full debug w/unref … … 78 80 # -j signed char 79 81 # -mf flat 82 # -of generate traceable stack frames 80 83 # -olinars optimze loops, inline, e(n)able fp recip, relax (a)lias, reordering, space 81 84 # -s disable stack checks … … 91 94 92 95 !ifdef DEBUG 93 CFLAGS = -bt=os2 -mf -bd -bm -d2 -olirs -s -sg -j -wx -zfp -zgp -zq -hd 94 !else 95 CFLAGS = -bt=os2 -mf -bd -bm -d1 -olirs -s -sg -j -wx -zfp -zgp -zq -hd 96 CFLAGS = -bt=os2 -mf -bd -bm -hd -d2 -olirs -s -sg -j -wx -zfp -zgp -zq 97 CFLAGS = -bt=os2 -mf -bd -bm -hd -d2 -s -sg -j -wx -zfp -zgp -zq 98 !else 99 CFLAGS = -bt=os2 -mf -bd -bm -hd -d1 -olirs -s -sg -j -wx -zfp -zgp -zq 96 100 !endif 97 101 98 102 # for fm3res only 99 CFLAGSR = -bt=os2 -mf -bd -bm -olirs -s -j -wx -zfp -zgp103 CFLAGSR = -bt=os2 -mf -bd -bm -olirs -s -j -wx -zfp -zgp -zq 100 104 101 105 !ifdef DEBUG … … 266 270 -del *.dll 267 271 -del *.lib 272 -del *.lrf 268 273 -del *.map 269 274 -del *.obj
Note:
See TracChangeset
for help on using the changeset viewer.
