|
Added
Link Here
|
| 1 |
--- makefile.all.orig 2011-04-07 20:16:34.097600083 +0100 |
| 2 |
+++ makefile.all 2011-04-07 20:18:07.399413945 +0100 |
| 3 |
@@ -234,42 +234,6 @@ |
| 4 |
|
| 5 |
# -------- rules for deleting the generated files -------- |
| 6 |
|
| 7 |
-clean: |
| 8 |
-ifdef UNIX_TOOLS |
| 9 |
- -rm $(RM_OPTS) $(OBJ_CLEAN_FILES) |
| 10 |
- -rm $(RM_OPTS) $(OTHER_CLEAN_FILES) |
| 11 |
-else |
| 12 |
- define RM_CLEAN |
| 13 |
- $(foreach file, $(wildcard $(OBJ_CLEAN_FILES)), -del $(subst /,\,$(file)) |
| 14 |
- ) |
| 15 |
- $(foreach file, $(wildcard $(OTHER_CLEAN_FILES)), -del $(subst /,\,$(file)) |
| 16 |
- ) |
| 17 |
- endef |
| 18 |
- -$(RM_CLEAN) |
| 19 |
-endif |
| 20 |
- |
| 21 |
-distclean: clean |
| 22 |
-ifdef UNIX_TOOLS |
| 23 |
- -rm $(RM_OPTS) $(DISTCLEAN_FILES) |
| 24 |
-else |
| 25 |
- define RM_DISTCLEAN |
| 26 |
- $(foreach file, $(wildcard $(DISTCLEAN_FILES)), -del $(subst /,\,$(file)) |
| 27 |
- ) |
| 28 |
- endef |
| 29 |
- -$(RM_DISTCLEAN) |
| 30 |
-endif |
| 31 |
- |
| 32 |
-veryclean: distclean |
| 33 |
-ifdef UNIX_TOOLS |
| 34 |
- -rm $(RM_OPTS) $(VERYCLEAN_FILES) |
| 35 |
-else |
| 36 |
- define RM_VERYCLEAN |
| 37 |
- $(foreach file, $(wildcard $(VERYCLEAN_FILES)), -del $(subst /,\,$(file)) |
| 38 |
- ) |
| 39 |
- endef |
| 40 |
- -$(RM_VERYCLEAN) |
| 41 |
-endif |
| 42 |
- |
| 43 |
|
| 44 |
|
| 45 |
# -------- rules for installing and removing the generic library files -------- |
| 46 |
@@ -292,15 +256,15 @@ |
| 47 |
INSTALL_DIRS := $(subst /,$(strip \),$(INSTALL_DIRS)) |
| 48 |
endif |
| 49 |
|
| 50 |
+define MKDIRS |
| 51 |
+$(foreach dir,$(INSTALL_DIRS),\ |
| 52 |
+ misc\mdhelper.bat $(dir) |
| 53 |
+) |
| 54 |
+endef |
| 55 |
create-install-dirs: |
| 56 |
ifdef UNIX_TOOLS |
| 57 |
misc/mdhelper.sh $(INSTALL_DIRS) |
| 58 |
else |
| 59 |
- define MKDIRS |
| 60 |
- $(foreach dir,$(INSTALL_DIRS),\ |
| 61 |
- misc\mdhelper.bat $(dir) |
| 62 |
- ) |
| 63 |
- endef |
| 64 |
$(MKDIRS) |
| 65 |
endif |
| 66 |
|
| 67 |
@@ -378,24 +342,6 @@ |
| 68 |
$(INSTALLDIR_U)/$(INCDIR_U)/allegro/internal/*.h \ |
| 69 |
) |
| 70 |
|
| 71 |
-generic-uninstall: |
| 72 |
-ifdef UNIX_TOOLS |
| 73 |
- -rm -fv $(UNINSTALL_FILES) |
| 74 |
- -rmdir $(INSTALLDIR_U)/$(INCDIR_U)/allegro/platform |
| 75 |
- -rmdir $(INSTALLDIR_U)/$(INCDIR_U)/allegro/inline |
| 76 |
- -rmdir $(INSTALLDIR_U)/$(INCDIR_U)/allegro/internal |
| 77 |
- -rmdir $(INSTALLDIR_U)/$(INCDIR_U)/allegro |
| 78 |
-else |
| 79 |
- define RM_FILES |
| 80 |
- $(foreach file, $(UNINSTALL_FILES), del $(subst /,\,$(file)) |
| 81 |
- ) |
| 82 |
- endef |
| 83 |
- -$(RM_FILES) |
| 84 |
- -rd $(INSTALLDIR_D)\$(INCDIR_D)\allegro\platform |
| 85 |
- -rd $(INSTALLDIR_D)\$(INCDIR_D)\allegro\inline |
| 86 |
- -rd $(INSTALLDIR_D)\$(INCDIR_D)\allegro\internal |
| 87 |
- -rd $(INSTALLDIR_D)\$(INCDIR_D)\allegro |
| 88 |
-endif |
| 89 |
|
| 90 |
|
| 91 |
|