source: trunk/makefile_post.mk@ 536

Last change on this file since 536 was 310, checked in by root, 19 years ago

Add lxlite target

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 705 bytes
RevLine 
[236]1# makefile_post.mk - common makefile suffix settings for all makefiles
2# $Id: makefile_post.mk 310 2006-06-27 00:28:31Z root $
[9]3
[252]4# 16 Aug 05 SHL Clean up
[310]5# 16 Apr 06 SHL Add lxlite target
[252]6
[236]7!ifndef MAKERES
8
[9]9$(BASE).exe: $(BASE).obj $(BASE).res $(BASE).def
[252]10 @$(LINK) @<<$(BASE).lrf
[236]11 $(LFLAGS)
12 $(BASE).obj
13 dll\fm3dll.lib
14 os2386.lib
15 $(BASE).def
[9]16<<
[252]17 @rem type $(BASE).lrf
18 $(RC) -x2 $(BASE).res $@
19 bldlevel $@
[9]20
[236]21!else
22
23$(BASE).exe: $(BASE).res
[252]24 @if not exist $@ echo $@ missing
25 lxlite $@ /x+ /b-
26 lxlite $@ /c:minstub
27 $(RC) -x2 $(BASE).res $@
28 lxlite $@ /x- /b-
29 bldlevel $@
[236]30
31!endif
32
[310]33lxlite:: $(BASE).exe
34 lxlite /x- /b- $?
35
[236]36clean:
37 -del $(BASE).exe
38 -del $(BASE).lrf
39 -del $(BASE).map
40 -del $(BASE).obj
41 -del $(BASE).res
42
[9]43# The end
Note: See TracBrowser for help on using the repository browser.