Last change
on this file since 265 was 243, checked in by umoeller, 23 years ago |
New build system, multimedia, other misc fixes.
|
-
Property svn:eol-style
set to
CRLF
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.1 KB
|
Rev | Line | |
---|
[243] | 1 |
|
---|
| 2 |
|
---|
| 3 | # The main target:
|
---|
| 4 | # If we're called from the main makefile, MAINMAKERUNNING is defined,
|
---|
| 5 | # and we'll set $(ALLTARGET) as our targets (which will go on).
|
---|
| 6 | # Otherwise, we call the main makefile, which will again call ourselves later.
|
---|
| 7 | all: \
|
---|
| 8 | !ifndef MAINMAKERUNNING
|
---|
| 9 | # we're not being called from main makefile: start main makefile
|
---|
| 10 | callmainmake
|
---|
| 11 | @echo ----- Leaving $(MAKEDIR)
|
---|
| 12 | !else
|
---|
| 13 | $(ALLTARGET)
|
---|
| 14 | @echo ----- Leaving $(MAKEDIR)
|
---|
| 15 | !endif
|
---|
| 16 |
|
---|
| 17 | callmainmake:
|
---|
| 18 | @echo $(MAKEDIR)\makefile [$@]: Recursing to main makefile.
|
---|
| 19 | @cd $(PROJECT_BASE_DIR)
|
---|
| 20 | @nmake
|
---|
| 21 | @echo $(MAKEDIR)\makefile [$@]: Returned from main makefile. Done.
|
---|
| 22 |
|
---|
| 23 | # The "dep" target: run fastdep on the sources.
|
---|
| 24 | # "nmake dep" gets called from src\makefile if nmake dep
|
---|
| 25 | # is running on the main makefile.
|
---|
| 26 | dep:
|
---|
| 27 | $(RUN_FASTDEP) *.c *.cpp
|
---|
| 28 | @echo ----- Leaving $(MAKEDIR)
|
---|
| 29 |
|
---|
| 30 | # The .OBJ-from-sources dependencies are now automatically
|
---|
| 31 | # created by "nmake dep" into the .depend include file.
|
---|
| 32 | # V0.9.12 (2001-05-22) [umoeller]
|
---|
| 33 |
|
---|
| 34 | !ifndef NOINCLUDEDEPEND
|
---|
| 35 | !include .depend
|
---|
| 36 | !endif
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.