Changeset 719 for trunk/makefile_pre.mk
- Timestamp:
- Jul 4, 2007, 2:54:53 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/makefile_pre.mk
r714 r719 5 5 # 02 Jun 07 SHL Convert to OpenWatcom 6 6 # 27 Jun 07 SHL Use same CFLAGS for all builds 7 # 27 Jun 07 SHL Allow DEBUG set from command line or environment 8 # 03 Jul 07 SHL Change DEBUG semantics to ifdef/ifndef 7 9 8 10 CC = wcc386 9 11 LINK = wlink 10 12 11 # fixme for wrc to build working .res12 # fixme for wrc to not clobber bldlevel strings13 # fixme use use wrc when wrc fixed (v1.7 maybe) 14 # wrc 1.6 is broken - does not copy resident name table 13 15 14 16 !ifndef USE_WRC … … 20 22 !else 21 23 RC = rc 24 !endif 25 26 # Keep this code in sync with dll\makefile 27 !ifndef DEBUG # if not defined on wmake command line 28 !ifdef %DEBUG # if defined in environment 29 DEBUG = $(%DEBUG) # pass environment value 30 !endif 22 31 !endif 23 32 … … 46 55 47 56 # We always compile with debug info to avoid needed a full rebuild just to debug 48 CFLAGS = 57 CFLAGS = -bt=os2 -mf -bm -d2 -olirs -s -j -wx -zfp -zgp -zq -hd 49 58 50 !ifdef %DEBUG51 LFLAGS = sys os2v2_pm op quiet op verbose op cache op caseexact op map debug dwarf all52 !else53 59 LFLAGS = sys os2v2_pm op quiet op verbose op cache op caseexact op map 60 !ifdef DEBUG 61 LFLAGS += debug dwarf all 54 62 !endif 55 63
Note:
See TracChangeset
for help on using the changeset viewer.