X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..1e3b7df4933a8db8bb625d394994c8863f2c7bdd:/projects/stargazer/plugins/Makefile.in?ds=inline diff --git a/projects/stargazer/plugins/Makefile.in b/projects/stargazer/plugins/Makefile.in index 90411bd4..2b255304 100644 --- a/projects/stargazer/plugins/Makefile.in +++ b/projects/stargazer/plugins/Makefile.in @@ -11,19 +11,19 @@ LN = ln CXXFLAGS += -fPIC LDFLAGS += -shared -L$(DIR_LIB) -Wl,-rpath,$(PREFIX)/usr/lib/stg -vpath %.so $(DIR_LIB) +vpath %.a $(DIR_LIB) all: $(PROG) $(PROG): $(OBJS) $(STGLIBS) - $(CC) $^ $(LDFLAGS) $(LIBS) -o $(PROG) + $(CXX) $^ $(LDFLAGS) $(LIBS) -o $(PROG) $(LN) -fs "`pwd`/$(PROG)" $(DIR_MOD)/$(PROG) clean: rm -f deps $(PROG) *.o tags *.*~ -install: - mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/lib/stg +install: $(PROG) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) uninstall: