aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 926d73ca92..32974918c7 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,6 @@ CP := cp
#######################################################################
srcdir ?= .
-builddir ?= .
DEFINES := -DHAVE_CONFIG_H
LDFLAGS :=
@@ -30,7 +29,7 @@ MODULE_DIRS :=
EXECUTABLE := scummvm$(EXEEXT)
# Load the make rules generated by configure
-include $(builddir)/config.mak
+include config.mak
# Uncomment this for stricter compile time code verification
# CXXFLAGS+= -Werror
@@ -50,7 +49,7 @@ CXXFLAGS+= -Wno-reorder -Wwrite-strings -fcheck-new -Wctor-dtor-privacy
include $(srcdir)/Makefile.common
# check if configure has been run or has been changed since last run
-$(builddir)/config.mak: $(srcdir)/configure
+config.mak: $(srcdir)/configure
@echo "You need to run ./configure before you can run make"
@echo "Either you haven't run it before or it has changed."
@echo "If you cannot run configure, use 'make -f Makefile.noconf'"
@@ -90,9 +89,9 @@ bundle: scummvm-static
mkdir -p $(bundle_name)/Contents/MacOS
mkdir -p $(bundle_name)/Contents/Resources
echo "APPL????" > $(bundle_name)/Contents/PkgInfo
- cp Info.plist $(bundle_name)/Contents/
- cp scummvm.icns $(bundle_name)/Contents/Resources/
- cp scummvm-static $(bundle_name)/Contents/MacOS/scummvm
+ cp $(srcdir)/Info.plist $(bundle_name)/Contents/
+ cp $(srcdir)/scummvm.icns $(bundle_name)/Contents/Resources/
+ cp $(srcdir)/scummvm-static $(bundle_name)/Contents/MacOS/scummvm
strip $(bundle_name)/Contents/MacOS/scummvm
# Special target to create a static linked binary for Mac OS X