source: trunk/makefile_post.mk@ 251

Last change on this file since 251 was 236, checked in by root, 20 years ago

common makefile suffix settings for all makefiles

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