From 1cd45b73d8e2295f1813026de6529ea9e48b954e Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 6 May 2010 15:25:36 -0400 Subject: [PATCH] Place THPPW.so in perl/lib so it is easy for example scripts to find. --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a762511..dcd6d3d 100644 --- a/Makefile +++ b/Makefile @@ -67,13 +67,13 @@ endif all: $(DEPDIR) $(OBJS) thperl_wrap.c wrapper -wrapper: $(WRAPPER_PATH)/$(WRAPPER).pm thperl_wrap.o $(WRAPPER).so +wrapper: $(WRAPPER_PATH)/$(WRAPPER).pm thperl_wrap.o $(WRAPPER_PATH)/$(WRAPPER).so thperl_wrap.o: thperl_wrap.c $(CC) $(DEBUG_CFLAGS) $(DEBUG_GLIB) -fPIC -c thperl.c thperl_wrap.c $(GLIB_CFLAGS) -$(WRAPPER).so: $(OBJS) thperl_wrap.o - $(CC) -shared $(GLIB_LIBS) $(PERL_LIBS) $(OBJS) thperl_wrap.o -o $(WRAPPER).so +$(WRAPPER_PATH)/$(WRAPPER).so: $(OBJS) thperl_wrap.o + $(CC) -shared $(GLIB_LIBS) $(PERL_LIBS) $(OBJS) thperl_wrap.o -o $@ thperl_wrap.c $(WRAPPER_PATH)/$(WRAPPER).pm: thperl.h swig -I$(PURPLE_PREFIX)/include $(DEBUG_CFLAGS) -perl -outdir $(WRAPPER_PATH) thperl.h @@ -91,5 +91,4 @@ clean: $(RM) -f $(OBJS) $(RM) -rf $(DEPDIR) $(RM) -f thperl_wrap.* - $(RM) -f $(WRAPPER).so - $(RM) -f $(WRAPPER_PATH)/$(WRAPPER).pm $(WRAPPER).pm + $(RM) -f $(WRAPPER_PATH)/$(WRAPPER).* $(WRAPPER).* -- 2.11.4.GIT