source: trunk/Makefile @ 1202

Last change on this file since 1202 was 1202, checked in by titer, 15 years ago

Makes make happy with -j

  • Property svn:keywords set to Date Rev Author Id
File size: 747 bytes
Line 
1# $Id: Makefile 1202 2006-12-14 03:17:23Z titer $
2
3include mk/common.mk
4
5default: all
6
7# Before we do anything else, make sure we have config.mk and an
8# updated version.mk
9
10required: mk/config.mk mk/version.mk
11mk/config.mk:
12        @echo "Please run ./configure first."
13        @false
14mk/version.mk: FORCE
15        @echo "Checking SVN revision..."
16        @./version.sh
17FORCE:
18
19# Now call the Makefile that'll really build
20# OS X has its special Makefile that wraps to Xcode
21
22-include mk/config.mk
23ifneq ($(SYSTEM),Darwin)
24MAKEARGS += -f mk/default.mk
25else
26MAKEARGS += -f mk/osx.mk
27endif
28
29all: required
30        @$(MAKE) $(MAKEARGS) all
31clean: required
32        @$(MAKE) $(MAKEARGS) clean
33install: all
34        @$(MAKE) $(MAKEARGS) install
35package: all
36        @$(MAKE) $(MAKEARGS) package
37package-release: all
38        @$(MAKE) $(MAKEARGS) package-release
Note: See TracBrowser for help on using the repository browser.