|
Last change
on this file since 225 was 211, checked in by root, 20 years ago |
|
Workaround makeflags wierdness
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
753 bytes
|
| Line | |
|---|
| 1 | # makefile - build fm/2
|
|---|
| 2 | # $Id: makefile 211 2005-06-18 03:49:57Z root $
|
|---|
| 3 |
|
|---|
| 4 | # 21 Nov 03 SHL Comments
|
|---|
| 5 | # 24 May 05 SHL Add clean and cleanobj target
|
|---|
| 6 | # 16 Jun 05 SHL Workaround makeflags wierdness
|
|---|
| 7 |
|
|---|
| 8 | # Environment:
|
|---|
| 9 |
|
|---|
| 10 | # DEBUG 0 = release build, 1 = debug build
|
|---|
| 11 |
|
|---|
| 12 | BASE = fm3
|
|---|
| 13 |
|
|---|
| 14 | !INCLUDE makefile_pre.mk
|
|---|
| 15 |
|
|---|
| 16 | ALL: DLL $(BASE) MAK
|
|---|
| 17 |
|
|---|
| 18 | DLL:
|
|---|
| 19 | cd dll
|
|---|
| 20 | $(MAKE) /nologo /$(MAKEFLAGS)
|
|---|
| 21 | cd ..
|
|---|
| 22 |
|
|---|
| 23 | $(BASE): $(BASE).EXE \
|
|---|
| 24 | $(BASE).res
|
|---|
| 25 |
|
|---|
| 26 | $(BASE).res: $(BASE).rc \
|
|---|
| 27 | $(BASE).h
|
|---|
| 28 |
|
|---|
| 29 | $(BASE).obj: $(BASE).c \
|
|---|
| 30 | $(BASE).h dll\version.h
|
|---|
| 31 |
|
|---|
| 32 | MAK: *.mak
|
|---|
| 33 | !$(MAKE) /NOLOGO /f $?
|
|---|
| 34 |
|
|---|
| 35 | cleanobj:
|
|---|
| 36 | cd dll
|
|---|
| 37 | $(MAKE) /nologo $(MAKEFLAGS) cleanobj
|
|---|
| 38 | cd ..
|
|---|
| 39 | -del *.obj
|
|---|
| 40 |
|
|---|
| 41 | clean:
|
|---|
| 42 | cd dll
|
|---|
| 43 | $(MAKE) /nologo $(MAKEFLAGS) clean
|
|---|
| 44 | cd ..
|
|---|
| 45 | -del *.exe
|
|---|
| 46 | -del *.map
|
|---|
| 47 | -del *.obj
|
|---|
| 48 | -del *.res
|
|---|
| 49 | -del fm3res.str
|
|---|
| 50 |
|
|---|
| 51 | !INCLUDE makefile_post.mk
|
|---|
| 52 |
|
|---|
| 53 | # The end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.