From 55e9f58fa7c551aebfd6084b778cd942fa8b20ce Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 28 May 2026 18:46:27 +0200 Subject: Update (fixes support for a few edge cases, and leaves nothing laying around) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- util/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 util/Makefile (limited to 'util/Makefile') diff --git a/util/Makefile b/util/Makefile new file mode 100644 index 0000000..d5e3a6c --- /dev/null +++ b/util/Makefile @@ -0,0 +1,36 @@ +.POSIX: + +CONFIGFILE = config.mk +include $(CONFIGFILE) + +BIN =\ + tmpmount\ + repodiff + +OBJ =\ + tmpmount.o\ + repodiff.o + +HDR = + +all: $(BIN) +$(OBJ): $(HDR) + +.c.o: + $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) + +tmpmount: tmpmount.o + $(CC) -o $@ tmpmount.o $(LDFLAGS) + $(ASROOT) sh -c "chown -- '0:0' $@ && chmod -- 4755 $@" + +repodiff: repodiff.o + $(CC) -o $@ repodiff.o $(LDFLAGS) + +clean: + -rm -f -- *.o *.a *.lo *.su *.so *.so.* *.gch *.gcov *.gcno *.gcda + -rm -f -- $(BIN) + +.SUFFIXES: +.SUFFIXES: .o .c + +.PHONY: all clean -- cgit v1.3.1