summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-10-18 12:24:17 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-10-18 12:24:17 +0200
commitf28542b9b45f83250a6d01bc062b65244d166a1c (patch)
tree962e70f79e2035d926c01544ef9d3812ee3cba57 /GNUmakefile
parentc82df70302f8ca78868f775f9f2a6c4ef6ba9f9c (diff)
Support building on Mac OS X without gnustep-make.
darcs-hash:fd214e0244570e27679db980171f866332808a56
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 67bb44b..ca8ebf2 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -15,7 +15,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
-include $(GNUSTEP_MAKEFILES)/common.make
+-include $(GNUSTEP_MAKEFILES)/common.make
include version.make
@@ -24,4 +24,16 @@ RPM_DISABLE_RELOCATABLE = YES
SUBPROJECTS = Objective-C
+ifneq ($(COMMON_MAKE_LOADED),)
include $(GNUSTEP_MAKEFILES)/aggregate.make
+else # Mac OS X
+all:
+ make -C Objective-C all
+
+clean:
+ make -C Objective-C clean
+
+install:
+ make -C Objective-C install
+endif
+