From ec1a67974741109d20ca943f324c02bc34a5f21e Mon Sep 17 00:00:00 2001 From: James Troup Date: Thu, 13 Sep 2001 23:50:54 +0000 Subject: [PATCH] Simplify --- Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) 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 -- 2.39.5