aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-25 11:29:09 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-25 11:29:09 +0000
commitb4c74668579bb9a550f0737a90a1d2f9ce12042e (patch)
tree1ab5b56b753a3d3b230e354178c0df7dfbc2c724 /src/Makefile
parent5ca76f59c952737c4af9bb31facf8bd760bd619e (diff)
less magic (less errorprone)
svn path=/trunk/externals/zexy/; revision=6022
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Makefile b/src/Makefile
index 0af231b..b234784 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -20,10 +20,6 @@ zexyconf.h: zexyconf.h.in configure
configure: configure.ac
autoconf
-## uaehh, here comes some magic
-## 1st we don't want depend and config-makefiles to be included on "clean"-targets
-
-ifeq (,$(findstring clean, $(MAKECMDGOALS)))
-include $(SOURCES:.c=.d)
Make.config: Make.config.in configure
@@ -31,7 +27,6 @@ Make.config: Make.config.in configure
z_zexy.c z_zexy.h:
./makesource.sh
-endif
-include Make.config
@@ -63,8 +58,7 @@ else
all: $(OBJECTS)
endif
-
-$(OBJECTS): $(TARGETS)
+$(OBJECTS): % : %.o
$(LD) $(LFLAGS) -o $@.$(EXT) $@.o $(LIBS)
$(STRIP) $(STRIPFLAGS) $@.$(EXT)