X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/af1b39c8dba29d0601b540b1892bb22bbe00de0d..015b23cc8eb304cb6cbcc7eb935d3f7c8169b279:/stglibs/Makefile.in?ds=inline diff --git a/stglibs/Makefile.in b/stglibs/Makefile.in index def43a0c..b5d1195c 100644 --- a/stglibs/Makefile.in +++ b/stglibs/Makefile.in @@ -35,8 +35,11 @@ clean: rm -f deps $(PROG) *.o *.a *.so tags *.*~ install: $(PROG) - mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/lib/stg - install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) +ifeq ($(DEBUG), yes) + install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/lib/stg/$(PROG) +else + install -D -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/ @@ -61,9 +64,9 @@ deps: $(SRCS) ../../Makefile.conf if [ $$? -eq 0 ];\ then\ echo "`$(CC) $(CFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - printf '\t$$(CC) $(CFLAGS) -c $$<\n' >> deps ;\ + printf '%b\n' '\t$$(CC) $(CFLAGS) -c $$<' >> deps ;\ else\ echo "`$(CXX) $(CXXFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\ - printf '\t$$(CXX) $(CXXFLAGS) -c $$<\n' >> deps ;\ + printf '%b\n' '\t$$(CXX) $(CXXFLAGS) -c $$<' >> deps ;\ fi;\ done