X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=Makefile;h=6fbca9cd1b4768df0f4f56fba333af73f29ae434;hb=HEAD;hp=89cbc2eeb3abe456e21ee44e69377eb50d4377f5;hpb=92e558a3df52b9a1dcfdf1a018c5268081d52b47;p=lopsub.git diff --git a/Makefile b/Makefile index 89cbc2e..6fbca9c 100644 --- a/Makefile +++ b/Makefile @@ -113,9 +113,10 @@ lsg1.o: lsg.c lsg.h lopsubgen-stage1: $(lsg1_objs) $(CC) -Wall -g $(lsg1_objs) -o $@ lopsubgen: $(lsg_objs) - $(CC) -Wall -g -o $@ $(lsg_objs) + $(CC) -Wall -g $(LDFLAGS) -o $@ $(lsg_objs) $(REALNAME): $(liblopsub_objs) - $(CC) --shared -Wl,-soname,liblopsub.so.$(MAJOR_VERSION) -o $@ $^ + $(CC) --shared -Wl,-soname,liblopsub.so.$(MAJOR_VERSION) \ + $(LDFLAGS) -o $@ $^ liblopsub.a: $(liblopsub_objs) $(AR) -rcs $@ $^