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