Changeset 243 for trunk/src/helpers/helpers_post.in
- Timestamp:
- Jan 29, 2003, 7:41:39 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/helpers_post.in
r196 r243 1 1 # 2 # Post-Include file for the main helpers makefile. 3 # This contains inference rules for the files. 2 # Post-include file for the main helpers makefile. 4 3 # 5 6 # Now define inference rules for what to do with certain file 7 # types, based on their file extension. 8 # The syntax we need here is ".fromext.toext". 9 # So whenever NMAKE encounters a .toext file, it 10 # executes what we specify here. 11 # The ugly {} brackets are some awkward syntax for specifying 12 # files in other directories. 13 14 # Special macros used here: $(@B) is the current target w/out ext. 15 16 # -- compile C files to .OBJ files, using the CC_HELPPERS macro 17 # given to us. 18 # The output will be placed in the directory specified by 19 # the OUTPUTDIR variable (set above). 20 21 .c.{$(OUTPUTDIR)}.obj: 22 @echo $(MAKEDIR)\makefile: Compiling $(@B).c 23 !ifdef EMX 24 $(CC_HELPERS) -o $(OUTPUTDIR)\$(@B).obj $(@B).c 25 !else 26 !ifndef PRECH 27 $(CC_HELPERS) /Fo$(OUTPUTDIR)\$(@B).obj $(@B).c 28 !else 29 $(CC_HELPERS) /fi"$(PRECH)\$(@B).pch" /si"$(PRECH)\$(@B).pch" /Fo$(OUTPUTDIR)\$(@B).obj $(@B).c 30 !endif 31 !endif 32 33 $(OUTPUTDIR)\interlock.obj: $(@B).asm 34 @echo $(MAKEDIR)\makefile: Assembling $(@B).asm 35 alp -Sv:ALP -Fdo:$(OUTPUTDIR) $(@B).asm 4 # This is shared between makefile and makefile_dll 5 # and contains inference rules for the files. 6 # 36 7 37 8 # The .OBJ-from-sources dependencies are now automatically … … 43 14 !endif 44 15 16 $(OUTPUTDIR)\interlock.obj: $(@B).asm 45 17 46
Note:
See TracChangeset
for help on using the changeset viewer.