Changeset 9 for trunk/global.mak


Ignore:
Timestamp:
Oct 16, 2002, 7:29:28 AM (23 years ago)
Author:
root
Message:

Lock in makefile rework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/global.mak

    r2 r9  
    1 DEBUG = 0
    21
    3 !IF $(DEBUG)
    4 LFLAGS = /NOI /PMTYPE:PM /ALIGN:2 /EXEPACK /CODEVIEW /M /BASE:0x10000 /STACK:65536 /NOD
    5 !ELSE
    6 LFLAGS = /NOI /PMTYPE:PM /ALIGN:2 /EXEPACK:2 /M /BASE:0x10000 /STACK:65536 /NOD /RUNFROMVDM /PACKC /PACKD
    7 !ENDIF
     2BASE=global
    83
    9 .SUFFIXES:
     4!INCLUDE makefile_pre.mk
    105
    11 .SUFFIXES: .c .rc .ipf
     6ALL: $(BASE).EXE \
     7     $(BASE).res
    128
    13 ALL: global.EXE \
    14      global.res
     9$(BASE).res: $(BASE).rc
    1510
    16 global.res: global.rc
     11$(BASE).obj: $(BASE).c
    1712
    18 global.obj: global.c
     13!INCLUDE makefile_post.mk
    1914
    20 global.exe:  \
    21   global.res \
    22   global.OBJ
    23    @REM @<<global.@0
    24      $(LFLAGS)+
    25      global.OBJ
    26      global.exe
    27      nul.map
    28      dde4mbso.lib dll\fm3dll.lib os2386.lib
    29      global.def;
    30 <<
    31    LINK386.EXE @global.@0
    32    RC -x2 global.RES global.exe
    33 
    34 {.}.rc.res:
    35    RC -r .\$*.RC
    36 
    37 {.}.c.obj:
    38 !IF $(DEBUG)
    39      ICC.EXE /Kb /Ti+ /W3 /Sm /Sp4 /Ss /C /Mp /Gm+ /Gs- /G3 /O- /Q+ /Gd+ .\$*.c
    40 !ELSE
    41      ICC.EXE /Gf+ /Kb /W3 /Sm /Sp4 /Ss /C /Mp /Gm+ /Gs- /O- /Q+ /G3 /Gt- /Gd+ .\$*.c
    42 !ENDIF
    43 
     15# The end
Note: See TracChangeset for help on using the changeset viewer.