Changeset 1661 for trunk/makefile_pre.mk
- Timestamp:
- Jan 26, 2012, 1:00:12 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/makefile_pre.mk
r1613 r1661 3 3 4 4 # Copyright (c) 1993-98 M. Kimes 5 # Copyright (c) 2002, 201 1Steven H. Levine5 # Copyright (c) 2002, 2012 Steven H. Levine 6 6 7 7 # 03 Jan 08 SHL Switch to wrc.exe default; support USE_RC from environment … … 11 11 # 06 Oct 08 SHL Pass DEBUG in CFLAGS; clean up USE_RC usage 12 12 # 18 Nov 08 JBS Ticket 297: Various build improvements/corrections 13 # 12 Jul 09 GKY Allow FM/2 to load in high memory call exehdr /hi14 13 # 13 Apr 10 SHL Drop HIMEM support 15 14 # 21 Jun 11 GKY Add exceptq .xqs support 16 # 2011-07-01 SHL sort map 15 # 07 Jan 11 SHL sort map 16 # 25 Jan 12 SHL Comments 17 17 18 18 # Environment: see dll\makefile … … 39 39 40 40 # Keep this code in sync with dll\makefile 41 !ifdef DEBUG 41 !ifdef DEBUG # if defined on wmake command line 42 42 DEBUG_OPT = DEBUG=$(DEBUG) # set in case needed by sub-make 43 43 !else 44 !ifdef %DEBUG 45 DEBUG = $(%DEBUG) 44 !ifdef %DEBUG # if defined in environment 45 DEBUG = $(%DEBUG) # use value from environment 46 46 DEBUG_OPT = DEBUG=$(DEBUG) # set in case needed by sub-make 47 47 !endif … … 55 55 FORTIFY_OPT = FORTIFY=$(FORTIFY) # set in case needed by sub-make 56 56 !else 57 !ifdef %FORTIFY 58 FORTIFY = $(%FORTIFY) 57 !ifdef %FORTIFY # if defined in environment 58 FORTIFY = $(%FORTIFY) # use value from environment 59 59 FORTIFY_OPT = FORTIFY=$(FORTIFY) # set in case needed by sub-make 60 60 !endif 61 61 !endif 62 62 63 SYMS = $(BASE).sym #set atarget for building SYM files63 SYMS = $(BASE).sym # target for building SYM files 64 64 65 65 # Some flags are order dependent - see OpenWatcom docs … … 94 94 95 95 # We always compile with debug info to avoid needing a full rebuild just to debug 96 CFLAGS = -bt=os2 -mf -bm -d2 -olirs 96 CFLAGS = -bt=os2 -mf -bm -d2 -olirs -s -j -wx -zfp -zgp -zp4 -zq -hd 97 97 98 98 !ifdef WARNALL
Note:
See TracChangeset
for help on using the changeset viewer.