]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/Makefile.in
Add dependancy on module for install-bin targets
[stg.git] / projects / stargazer / plugins / Makefile.in
index 90411bd41aa12155b50a0f9a96d0e3fb81e4f6c4..23ff1eb9b9fe8878b1e7b40470b07c4db6222c7e 100644 (file)
@@ -16,14 +16,14 @@ vpath %.so $(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: