Changeset 9 for trunk/fm4.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/fm4.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=fm4
    83
    9 .SUFFIXES: .c .rc .ipf
     4!INCLUDE makefile_pre.mk
    105
    11 ALL: fm4.EXE \
    12      fm4.res
     6ALL: $(BASE).EXE \
     7     $(BASE).res
    138
    14 fm4.res: fm4.rc \
    15      fm4.h
     9$(BASE).res: $(BASE).rc \
     10     $(BASE).h
    1611
    17 fm4.obj: fm4.c \
    18      fm4.h dll\version.h
     12$(BASE).obj: $(BASE).c \
     13     $(BASE).h dll\version.h
    1914
    20 fm4.exe:  \
    21   fm4.res \
    22   fm4.OBJ
    23    @REM @<<fm4.@0
    24      $(LFLAGS)+
    25      fm4.OBJ
    26      fm4.exe
    27      nul.map
    28      dde4mbso.lib dll\fm3dll.lib os2386.lib
    29      fm4.def;
    30 <<
    31    LINK386.EXE @fm4.@0
    32    RC -x2 fm4.RES fm4.exe
     15!INCLUDE makefile_post.mk
    3316
    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 
     17# The end
Note: See TracChangeset for help on using the changeset viewer.