From: James Troup Date: Thu, 13 Sep 2001 23:50:54 +0000 (+0000) Subject: Simplify X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ec1a67974741109d20ca943f324c02bc34a5f21e;p=dak.git Simplify --- diff --git a/Makefile b/Makefile index 816908d8..32e5417e 100644 --- a/Makefile +++ b/Makefile @@ -5,21 +5,13 @@ CFLAGS = -fPIC -Wall LDFLAGS = -fPIC LIBS = -lapt-pkg -LD = ld -CC = gcc C++ = g++ -CPP = cpp -SUBDIRS = docs - -all: sql-aptvc.so $(patsubst %,%.make,$(SUBDIRS)) - -%.make: - $(MAKE) -C $* $(MAKECMDGOALS) +all: sql-aptvc.so sql-aptvc.o: sql-aptvc.cpp sql-aptvc.so: sql-aptvc.o - $(LD) $(LDFLAGS) $(LIBS) -shared -o $@ $< -clean: $(patsubst %,%.make,$(SUBDIRS)) + $(C++) $(LDFLAGS) $(LIBS) -shared -o $@ $< +clean: rm -f sql-aptvc.so sql-aptvc.o