From 7b1557f421b955968e1dc90ffa11e7a836b47af6 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Wed, 3 Jan 2007 22:08:10 +0000 Subject: using -Wl,--whole-archive to link sublibraries --- css/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'css/Makefile') diff --git a/css/Makefile b/css/Makefile index 8fb86a2..006548e 100644 --- a/css/Makefile +++ b/css/Makefile @@ -30,10 +30,10 @@ OBJS = styles.o ### Targets: -all: libcss.o +all: libcss.a -libcss.o: $(OBJS) - $(LD) -i -o $@ $^ +libcss.a: $(OBJS) + $(AR) r $@ $^ clean: @rm -f *~ *.o core* libcss.a $(OBJS:%.o=%.cpp) -- cgit v1.2.3