X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/789e1567f735cb92cf574c74f792705445de2fd7..387b3f5ac84b99dc7d04fd69162712ede9783989:/stglibs/Makefile.in?ds=inline diff --git a/stglibs/Makefile.in b/stglibs/Makefile.in index a3184974..11dfcfb1 100644 --- a/stglibs/Makefile.in +++ b/stglibs/Makefile.in @@ -35,8 +35,13 @@ clean: rm -f deps $(PROG) *.o *.a *.so tags *.*~ install: $(PROG) +ifeq ($(DEBUG), yes) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg + install -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) +else mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) +endif mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/include/stg install -m $(DATA_MODE) -o $(OWNER) $(addprefix include/stg/,$(INCS)) $(PREFIX)/usr/include/stg/