Ignore:
Timestamp:
Jun 16, 2007, 3:36:42 AM (18 years ago)
Author:
Steven Levine
Message:

Commit primary makefiles to OpenWatcom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/internal/makefile

    r289 r691  
    11# makefile - build makestr.exe
    22# $Id$
     3
     4# Copyright (c) 2002, 2007 Steven H. Levine
     5
     6# 14 Jun 07 SHL Convert to OpenWatcom
    37
    48BASE=mkstr
     
    610!include ..\..\makefile_pre.mk
    711
    8 CFLAGS = /G5 /Gm+ /Gs- /Gt- /Mp /O+ /Q+ /Sm /Ss /W3
    9 LFLAGS = /EXEPACK:2 /MAP /PMTYPE:VIO
     12# CFLAGS = /G5 /Gm+ /Gs- /Gt- /IDLL /Mp /O- /Q+     /Sp4 /Ss /Ti+ /W3
     13# CFLAGS = /G5 /Gm+ /Gs- /Gt-       /Mp /O+ /Q+ /Sm      /Ss /W3
     14# -bc           console app
     15# -bm           multithread libs
     16# -bt=os2       target
     17# -d2           full debug
     18# -d3           full debug w/unref
     19# -hd           dwarf
     20# -j            signed char
     21# -mf           flat
     22# -olinars      optimze loops, inline, e(n)able fp recip, relax (a)lias, reordering, space
     23# -s            disable stack checks
     24# -sg           generate calls to grow the stack
     25# -st           touch stack through SS first
     26# -wx           max warnings
     27# -zfp          disable fs use
     28# -zgp          disable gs use
     29# -zp4          align 4
     30# -zq           quiet
     31CFLAGS = -bt=os2 -mf -bm -d1 -olirs   -s -j -wx -zfp -zgp -zq -hd
    1032
    11 all: $(BASE).exe
     33# fixme
     34#LFLAGS = /EXEPACK:2 /MAP /PMTYPE:VIO
     35
     36all: $(BASE).exe .symbolic
    1237
    1338$(BASE).obj: $(BASE).c ..\version.h ..\fm3str.h
    1439
    15 $(BASE).exe: $(BASE).obj
    16   @REM @<<$(BASE).lrf
    17   $(LFLAGS)
    18   $(BASE).obj
    19   os2386.lib
    20 <<
    21   type $(BASE).lrf
    22   $(LINK) @$(BASE).lrf
     40$(BASE).exe: $(BASE).obj $(BASE).lrf
     41  @$(LINK) @$(BASE).lrf
     42  bldlevel $@
    2343
    24 clean:
     44$(BASE).lrf: $(__MAKEFILES__)
     45   @%write $^@ system os2v2
     46   @%write $^@ option quiet
     47   @%write $^@ option verbose
     48   @%write $^@ option cache
     49   @%write $^@ option caseexact
     50!ifdef %DEBUG
     51    @%write $^@ debug dwarf all
     52!endif
     53   @%write $^@ option map
     54   @%write $^@ name $(BASE)
     55   @%write $^@ op desc '@$#$(%VENDOR):$(%BUILDVER)$#@$#$#1$#$# $(%BUILDTIME)      slamain::EN:US:0:U:@@Fm/2 Strings Compiler'
     56   @%write $^@ file $(BASE).obj
     57   @%write $^@ library os2386.lib
     58
     59clean: .symbolic
    2560  -del $(BASE).exe
    2661  -del $(BASE).lrf
     
    2863  -del $(BASE).obj
    2964
    30 cleanobj:
     65cleanobj: .symbolic
    3166  -del $(BASE).obj
    3267
Note: See TracChangeset for help on using the changeset viewer.