Changeset 236


Ignore:
Timestamp:
Aug 9, 2005, 7:10:45 AM (20 years ago)
Author:
root
Message:

common makefile suffix settings for all makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/makefile_post.mk

    r9 r236  
    1 # makefile_post.mk - common settings for post !include
     1# makefile_post.mk - common makefile suffix settings for all makefiles
     2# $Id$
     3
     4!ifndef MAKERES
    25
    36$(BASE).exe: $(BASE).obj $(BASE).res $(BASE).def
    4     @REM @<<$(BASE).@0
    5     $(LFLAGS)
    6     $(BASE).obj
    7     dll\fm3dll.lib os2386.lib
    8     $(BASE).def
     7  @rem @<<$(BASE).lrf
     8  $(LFLAGS)
     9  $(BASE).obj
     10  dll\fm3dll.lib
     11  os2386.lib
     12  $(BASE).def
    913<<
    10     type $(BASE).@0
    11     $(LINK) @$(BASE).@0
    12     $(RC) -x2 $(BASE).res $(BASE).exe
     14  type $(BASE).lrf
     15  $(LINK) @$(BASE).lrf
     16  $(RC) -x2 $(BASE).res $(BASE).exe
     17
     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
    1335
    1436# The end
Note: See TracChangeset for help on using the changeset viewer.