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