From b4c74668579bb9a550f0737a90a1d2f9ce12042e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 25 Sep 2006 11:29:09 +0000 Subject: less magic (less errorprone) svn path=/trunk/externals/zexy/; revision=6022 --- src/Makefile | 8 +------- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.1