aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Horn2002-08-21 20:47:12 +0000
committerMax Horn2002-08-21 20:47:12 +0000
commite0cfd49ef794cff5641dbca71ff3fa70c35fc738 (patch)
tree02c7a8e1fec87b073110818aacd98d56881fbb1c /Makefile
parent48fa357d7c3d11c2972ca0734a86d524ca429740 (diff)
downloadscummvm-rg350-e0cfd49ef794cff5641dbca71ff3fa70c35fc738.tar.gz
scummvm-rg350-e0cfd49ef794cff5641dbca71ff3fa70c35fc738.tar.bz2
scummvm-rg350-e0cfd49ef794cff5641dbca71ff3fa70c35fc738.zip
patch #598405
svn-id: r4799
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d8c0cad0de..0c7fd370d0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,18 @@
# $Header$
CXX = c++
+AR = ar cru
+RANLIB = ranlib
+RM = rm -f
+MKDIR = mkdir -p
+ECHO = echo -n
+CAT = cat
+RM = rm -f
+# recursive version of RM
+RM_REC = $(RM) -r
+ZIP = zip -q
+CP = cp
+
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
DEFINES =
LDFLAGS :=
@@ -29,9 +41,9 @@ CPPFLAGS= $(DEFINES) $(INCLUDES)
include Makefile.common
dist:
- rm -f $(ZIPFILE)
- zip -q $(ZIPFILE) $(DISTFILES)
+ $(RM) $(ZIPFILE)
+ $(ZIP) $(ZIPFILE) $(DISTFILES)
# Until we add a nice configure tool, default to the SDL build rules
build.rules:
- cp backends/sdl/build.rules build.rules
+ $(CP) backends/sdl/build.rules build.rules