diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-28 18:46:27 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-28 18:46:27 +0200 |
| commit | 55e9f58fa7c551aebfd6084b778cd942fa8b20ce (patch) | |
| tree | 7177e49a9c3a3c2e9cd4f88e8507cb19c9f6c1b0 /util/Makefile | |
| parent | m fix (diff) | |
| download | release-scripts-55e9f58fa7c551aebfd6084b778cd942fa8b20ce.tar.gz release-scripts-55e9f58fa7c551aebfd6084b778cd942fa8b20ce.tar.bz2 release-scripts-55e9f58fa7c551aebfd6084b778cd942fa8b20ce.tar.xz | |
Update (fixes support for a few edge cases, and leaves nothing laying around)
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'util/Makefile')
| -rw-r--r-- | util/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
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 |
