- Timestamp:
- Jan 5, 2008, 3:51:36 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/dll/makefile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/makefile
r899 r903 34 34 # 22 Sep 07 SHL Switch to 4 byte packing (-zp4) 35 35 # 03 Jan 08 SHL Prepare for final, implending switch to wrc.exe 36 # 03 Jan 08 SHL Switch to wrc.exe default; support USE_RC from environment 36 37 37 38 # Environment: … … 48 49 LINK = wlink 49 50 50 # // 01 Jan 08 SHL fixme debug 51 # USE_WRC = 1 52 53 !ifndef USE_WRC # if not defined on command line 54 !ifdef %USE_WRC # if defined in environment 55 USE_WRC = $(%USE_WRC) 56 !else 57 USE_WRC = 0 58 !endif 59 !endif 60 61 !if $(USE_WRC) 51 !ifndef USE_RC # if not defined on command line 52 !ifdef %USE_RC # if defined in environment 53 USE_RC = $(%USE_RC) 54 !else 55 USE_RC = 0 56 !endif 57 !endif 58 59 !if $(USE_RC) 60 RC = rc 61 !else 62 62 RC = wrc 63 !else64 RC = rc65 63 !endif 66 64 … … 119 117 120 118 # rc Includes can be in current director or dll subdirectory 121 !if $(USE_WRC) 119 !if $(USE_RC) 120 RCFLAGS = -r -i dll 121 RCFLAGS2 = -x2 122 !else 122 123 # Pass 1 flags 123 124 RCFLAGS = -r -i=dll -ad 124 125 # Pass 2 flags 125 126 RCFLAGS2 = 126 !else127 RCFLAGS = -r -i dll128 RCFLAGS2 = -x2129 127 !endif 130 128 … … 213 211 $(BASERES).res: *.rc *.dlg fm3dll2.h fm3dlg.h $(ICONS) 214 212 $(RC) $(RCFLAGS) $* 215 !if ! $(USE_WRC)213 !if $(USE_RC) 216 214 ren $*.res $*.res 217 215 !endif … … 242 240 bldlevel $@ 243 241 244 !endif 242 !endif # MAKERES mode 243 244 # For testing new code 245 tmp.obj: tmp.c 245 246 246 247 $(BASERES).str: $(BASE).str fm3str.h version.h
Note:
See TracChangeset
for help on using the changeset viewer.
