]> git.decadent.org.uk Git - dak.git/commitdiff
Simplify
authorJames Troup <james@nocrew.org>
Thu, 13 Sep 2001 23:50:54 +0000 (23:50 +0000)
committerJames Troup <james@nocrew.org>
Thu, 13 Sep 2001 23:50:54 +0000 (23:50 +0000)
Makefile

index 816908d82d1ef1f592f2ca27b87f89bdda0379e4..32e5417e22154f2ab619189df7d08126e7b083ec 100644 (file)
--- 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