X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..f1f23b0047bf11eb8f904f4da4e5cc2bb236bf06:/projects/rlm_stg/Makefile?ds=inline diff --git a/projects/rlm_stg/Makefile b/projects/rlm_stg/Makefile index da1a5768..68cdb5be 100644 --- a/projects/rlm_stg/Makefile +++ b/projects/rlm_stg/Makefile @@ -30,7 +30,7 @@ OBJS = $(notdir $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(SRCS)))) CXXFLAGS += -Wall -fPIC -I./ LDFLAGS += -shared -L$(DIR_LIB) -Wl,-rpath,$(PREFIX)/usr/lib/stg -vpath %.so $(DIR_LIB) +vpath %.a $(DIR_LIB) .PHONY: all clean distclean libs install uninstall install-bin uninstall-bin all: libs $(PROG) ../../Makefile.conf @@ -39,7 +39,7 @@ libs: $(MAKE) -C $(DIR_LIBSRC) $(PROG): $(OBJS) $(STGLIBS) - $(CC) $^ $(LDFLAGS) -o $(PROG) $(LIBS) + $(CXX) $^ $(LDFLAGS) -o $(PROG) $(LIBS) clean: rm -f deps $(PROG) *.o tags *.*~ .OS