projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20020906-3-src
[rocksndiamonds.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 0496dc3c38b4eee1d8f826081b0075f1df459ac0..96b73c56520626702994a3b00c6a0a38ffb3175d 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-49,8
+49,10
@@
CROSS_PATH_WIN32=/usr/local/cross-tools/i386-mingw32msvc
SRC_DIR = src
MAKE_CMD = $(MAKE) -C $(SRC_DIR)
SRC_DIR = src
MAKE_CMD = $(MAKE) -C $(SRC_DIR)
+DEFAULT_TARGET = sdl
+
all:
all:
- @$(MAKE_CMD) TARGET=
x11
+ @$(MAKE_CMD) TARGET=
$(DEFAULT_TARGET)
x11:
@$(MAKE_CMD) TARGET=x11
x11:
@$(MAKE_CMD) TARGET=x11
@@
-85,7
+87,7
@@
clean:
#-----------------------------------------------------------------------------#
run:
#-----------------------------------------------------------------------------#
run:
- @$(MAKE_CMD) TARGET=
x11
&& ./rocksndiamonds --verbose
+ @$(MAKE_CMD) TARGET=
$(DEFAULT_TARGET)
&& ./rocksndiamonds --verbose
backup:
./Scripts/make_backup.sh src
backup:
./Scripts/make_backup.sh src
@@
-108,6
+110,18
@@
dist-win32:
dist-macosx:
./Scripts/make_dist.sh mac . $(MAKE)
dist-macosx:
./Scripts/make_dist.sh mac . $(MAKE)
+upload-unix:
+ ./Scripts/make_dist.sh unix . upload
+
+upload-msdos:
+ ./Scripts/make_dist.sh dos . upload
+
+upload-win32:
+ ./Scripts/make_dist.sh win . upload
+
+upload-macosx:
+ ./Scripts/make_dist.sh mac . upload
+
dist-clean:
@$(MAKE_CMD) dist-clean
dist-clean:
@$(MAKE_CMD) dist-clean
@@
-119,5
+133,7
@@
dist-build-all:
dist-all: dist-build-all dist-unix dist-msdos dist-win32 dist-macosx
dist-all: dist-build-all dist-unix dist-msdos dist-win32 dist-macosx
+upload-all: upload-unix upload-msdos upload-win32 upload-macosx
+
depend dep:
$(MAKE_CMD) depend
depend dep:
$(MAKE_CMD) depend