mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
improve makefile example
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31336 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
46135e9180
commit
f4af2099be
1 changed files with 8 additions and 0 deletions
|
@ -99,6 +99,14 @@ The following Makefile defines a project:
|
|||
# A GNUmakefile
|
||||
#
|
||||
|
||||
# Check that the GNUSTEP_MAKEFILES environment variable is set
|
||||
ifeq ($(GNUSTEP_MAKEFILES),)
|
||||
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
|
||||
ifeq ($(GNUSTEP_MAKEFILES),)
|
||||
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Include the common variables
|
||||
include $(GNUSTEP_MAKEFILES)/common.make
|
||||
|
||||
|
|
Loading…
Reference in a new issue