From: b Date: Wed, 7 Dec 2022 07:36:29 +0000 (+0000) Subject: makefile cleanup and safety (don't rm -rf) X-Git-Url: http://bicyclesonthemoon.info/git-projects/?p=ott%2Fenhance;a=commitdiff_plain;h=df7946c2989e61c1356dc677a7d9bfb3226e4bb7 makefile cleanup and safety (don't rm -rf) --- diff --git a/makefile b/makefile index 7a554b0..b3fb84a 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # "makefile" is automatically generated from "makefile.1.mak" -# 05.12.2022 +# 07.12.2022 # # Copyright (C) 2022 Balthasar Szczepański # @@ -168,7 +168,6 @@ index.htm\ $(HTM_CGI)\ param.png -#all: 403 npb npbd npb-ong1 npbd-ong1 bluenh bluenhd insert extract seediff insertframe mremapt-1 compare nofading nofadingd all: $(BIN) $(WWW) enhance.conf @@ -216,7 +215,7 @@ mktree: ifdef BIN_PATH cp_bin: $(BIN) setuid | mktree - $(RM) -rf $(BIN_PATH)/* + $(RM) -f $(BIN_PATH)/* $(CP) -p $(BIN) $(BIN_PATH) endif @@ -233,27 +232,5 @@ clean: PHONY: all clean install setuid mktree cp_bin cp_www -#npbd-ong1: npb npbd-ong1.cpp makefile -# $(CC) $(CF) -o npbd-ong1 npbd-ong1.cpp $(LF2) -# -#npbd: npb npbd.cpp makefile -# $(CC) $(CF) -o npbd npbd.cpp $(LF2) -# -#bluenhd: bluenhd.cpp makefile -# $(CC) $(CF) -o bluenhd bluenhd.cpp $(LF2) -# -#seediff: seediff.c makefile -# $(CC) $(CF) $(LF) -o seediff seediff.c -# -#insertframe: insertframe.c makefile -# $(CC) $(CF) -o insertframe insertframe.c $(LF2) -# -#remapt-1: remapt-1.c makefile -# $(CC) $(CF) $(LF) -o remapt-1 remapt-1.c -# #compare: compare.c makefile # $(CC) $(CF) $(LF) -o compare compare.c -# -#nofadingd: nofadingd.c makefile -# $(CC) $(CF) $(LF) -o nofadingd nofadingd.c -# diff --git a/makefile.1.mak b/makefile.1.mak index d40b846..aa6a766 100644 --- a/makefile.1.mak +++ b/makefile.1.mak @@ -1,5 +1,5 @@ # "makefile" is automatically generated from "makefile.1.mak" -# 05.12.2022 +# 07.12.2022 # # Copyright (C) 2022 Balthasar Szczepański # @@ -168,7 +168,6 @@ index.htm\ $(HTM_CGI)\ param.png -#all: 403 npb npbd npb-ong1 npbd-ong1 bluenh bluenhd insert extract seediff insertframe mremapt-1 compare nofading nofadingd all: $(BIN) $(WWW) enhance.conf @@ -216,7 +215,7 @@ mktree: ifdef BIN_PATH cp_bin: $(BIN) setuid | mktree - $(RM) -rf $(BIN_PATH)/* + $(RM) -f $(BIN_PATH)/* $(CP) -p $(BIN) $(BIN_PATH) endif @@ -233,27 +232,5 @@ clean: PHONY: all clean install setuid mktree cp_bin cp_www -#npbd-ong1: npb npbd-ong1.cpp makefile -# $(CC) $(CF) -o npbd-ong1 npbd-ong1.cpp $(LF2) -# -#npbd: npb npbd.cpp makefile -# $(CC) $(CF) -o npbd npbd.cpp $(LF2) -# -#bluenhd: bluenhd.cpp makefile -# $(CC) $(CF) -o bluenhd bluenhd.cpp $(LF2) -# -#seediff: seediff.c makefile -# $(CC) $(CF) $(LF) -o seediff seediff.c -# -#insertframe: insertframe.c makefile -# $(CC) $(CF) -o insertframe insertframe.c $(LF2) -# -#remapt-1: remapt-1.c makefile -# $(CC) $(CF) $(LF) -o remapt-1 remapt-1.c -# #compare: compare.c makefile # $(CC) $(CF) $(LF) -o compare compare.c -# -#nofadingd: nofadingd.c makefile -# $(CC) $(CF) $(LF) -o nofadingd nofadingd.c -# \ No newline at end of file