Changeset 691 for trunk/makefile_post.mk
- Timestamp:
- Jun 16, 2007, 3:36:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/makefile_post.mk
r310 r691 4 4 # 16 Aug 05 SHL Clean up 5 5 # 16 Apr 06 SHL Add lxlite target 6 # 02 Jun 07 SHL Convert to OpenWatcom 6 7 7 8 !ifndef MAKERES 8 9 9 $(BASE).exe: $(BASE).obj $(BASE).res $(BASE).def 10 @$(LINK) @<<$(BASE).lrf 11 $(LFLAGS) 12 $(BASE).obj 13 dll\fm3dll.lib 14 os2386.lib 15 $(BASE).def 16 << 17 @rem type $(BASE).lrf 18 $(RC) -x2 $(BASE).res $@ 10 # Build executable 11 # Common parameters go in .lrf 12 # Executable specific paramters go in .def 13 14 $(BASE).exe: $(BASE).lrf $(BASE).obj $(BASE).res $(BASE).def .explicit 15 @$(LINK) @$(BASE).lrf @$(BASE).def 16 $(RC) $(RCFLAGS2) $(BASE).res $@ 19 17 bldlevel $@ 18 19 $(BASE).lrf: $(__MAKEFILES__) .explicit 20 @%write $^@ $(LFLAGS) 21 @%append $^@ name $(BASE) 22 @%append $^@ file $(BASE).obj 23 !ifdef %EXCEPTQ 24 @%append $^@ file exceptq.lib 25 !endif 26 @%append $^@ library dll\fm3dll.lib 27 @%append $^@ library os2386.lib 20 28 21 29 !else 22 30 23 $(BASE).exe: $(BASE).res 31 # Replace resources 32 $(BASE).exe: $(BASE).res .explicit 24 33 @if not exist $@ echo $@ missing 25 34 lxlite $@ /x+ /b- 26 35 lxlite $@ /c:minstub 27 $(RC) -x2$(BASE).res $@36 $(RC) $(RCFLAGS2) $(BASE).res $@ 28 37 lxlite $@ /x- /b- 29 38 bldlevel $@ … … 31 40 !endif 32 41 33 lxlite:: $(BASE).exe 42 lxlite:: $(BASE).exe .symbolic .explicit 34 43 lxlite /x- /b- $? 35 44 36 clean: 45 clean:: .symbolic .explicit 37 46 -del $(BASE).exe 38 47 -del $(BASE).lrf
Note:
See TracChangeset
for help on using the changeset viewer.