summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2005-04-01 12:32:21 +0000
committerJason Woodward2005-04-01 12:32:21 +0000
commit1a805a25b9a18fd9fe4a4c86fafd2374f7e37978 (patch)
treec47d67e81d1e2390eea6d3f3b915153b4bbcd2ae
parent471631247059f3f422ac560c27c20266d348d284 (diff)
downloadslapt-get-1a805a25b9a18fd9fe4a4c86fafd2374f7e37978.tar.gz
used LIBOBJS variable instead of spelling out the object files when making the ar archive
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c71bbef..ea0250c 100644
--- a/Makefile
+++ b/Makefile
@@ -123,6 +123,6 @@ libs: CFLAGS += -fpic #change to -fPIC for amd64
libs: $(OBJS)
touch libs
$(CC) -shared -o src/libslapt-$(VERSION).so $(LIBOBJS)
- ar -r src/libslapt-$(VERSION).a src/common.o src/configuration.o src/package.o src/curl.o src/transaction.o
+ ar -r src/libslapt-$(VERSION).a $(LIBOBJS)
cat include/main.h include/common.h include/configuration.h include/package.h include/curl.h include/transaction.h |grep -v '#include \"' > include/slapt.h