|
Last change
on this file since 706 was 706, checked in by Gregg Young, 18 years ago |
|
I changed the debug compiler flags to d2 so I could tell if it was really doing a debug build
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | # makefile - build makestr.exe
|
|---|
| 2 | # $Id: makefile 706 2007-06-24 20:31:05Z gyoung $
|
|---|
| 3 |
|
|---|
| 4 | # Copyright (c) 2002, 2007 Steven H. Levine
|
|---|
| 5 |
|
|---|
| 6 | # 14 Jun 07 SHL Convert to OpenWatcom
|
|---|
| 7 |
|
|---|
| 8 | BASE=mkstr
|
|---|
| 9 |
|
|---|
| 10 | !include ..\..\makefile_pre.mk
|
|---|
| 11 |
|
|---|
| 12 | # -bc console app
|
|---|
| 13 | # -bm multithread libs
|
|---|
| 14 | # -bt=os2 target
|
|---|
| 15 | # -d2 full debug
|
|---|
| 16 | # -d3 full debug w/unref
|
|---|
| 17 | # -hd dwarf
|
|---|
| 18 | # -j signed char
|
|---|
| 19 | # -mf flat
|
|---|
| 20 | # -olinars optimze loops, inline, e(n)able fp recip, relax (a)lias, reordering, space
|
|---|
| 21 | # -s disable stack checks
|
|---|
| 22 | # -sg generate calls to grow the stack
|
|---|
| 23 | # -st touch stack through SS first
|
|---|
| 24 | # -wx max warnings
|
|---|
| 25 | # -zfp disable fs use
|
|---|
| 26 | # -zgp disable gs use
|
|---|
| 27 | # -zp4 align 4
|
|---|
| 28 | # -zq quiet
|
|---|
| 29 | !ifdef %DEBUG
|
|---|
| 30 | CFLAGS = -bt=os2 -mf -bm -d2 -olirs -s -j -wx -zfp -zgp -zq -hd
|
|---|
| 31 | !else
|
|---|
| 32 | CFLAGS = -bt=os2 -mf -bm -d1 -olirs -s -j -wx -zfp -zgp -zq -hd
|
|---|
| 33 | !endif
|
|---|
| 34 |
|
|---|
| 35 | # fixme
|
|---|
| 36 | #LFLAGS = /EXEPACK:2 /MAP /PMTYPE:VIO
|
|---|
| 37 |
|
|---|
| 38 | all: $(BASE).exe .symbolic
|
|---|
| 39 |
|
|---|
| 40 | $(BASE).obj: $(BASE).c ..\version.h ..\fm3str.h
|
|---|
| 41 |
|
|---|
| 42 | $(BASE).exe: $(BASE).obj $(BASE).lrf
|
|---|
| 43 | @$(LINK) @$(BASE).lrf
|
|---|
| 44 | bldlevel $@
|
|---|
| 45 |
|
|---|
| 46 | $(BASE).lrf: $(__MAKEFILES__)
|
|---|
| 47 | @%write $^@ system os2v2
|
|---|
| 48 | @%write $^@ option quiet
|
|---|
| 49 | @%write $^@ option verbose
|
|---|
| 50 | @%write $^@ option cache
|
|---|
| 51 | @%write $^@ option caseexact
|
|---|
| 52 | !ifdef %DEBUG
|
|---|
| 53 | @%write $^@ debug dwarf all
|
|---|
| 54 | !endif
|
|---|
| 55 | @%write $^@ option map
|
|---|
| 56 | @%write $^@ name $(BASE)
|
|---|
| 57 | @%write $^@ op desc '@$#SLAInc:3.05.09$#@$#$#1$#$# 06/15/2007 03:05:09 slamain::EN:US:0:U:@@Fm/2 Strings Compiler'
|
|---|
| 58 | @%write $^@ file $(BASE).obj
|
|---|
| 59 | @%write $^@ library os2386.lib
|
|---|
| 60 |
|
|---|
| 61 | clean: .symbolic
|
|---|
| 62 | -del $(BASE).exe
|
|---|
| 63 | -del $(BASE).lrf
|
|---|
| 64 | -del $(BASE).map
|
|---|
| 65 | -del $(BASE).obj
|
|---|
| 66 |
|
|---|
| 67 | cleanobj: .symbolic
|
|---|
| 68 | -del $(BASE).obj
|
|---|
| 69 |
|
|---|
| 70 | # The end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.