From f467f59897f330d2a493e919108e62dffaa1f736 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 4 Sep 2021 11:38:03 +0200 Subject: Communicate whether file transfers were completed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index eff2603..74bce68 100644 --- a/Makefile +++ b/Makefile @@ -5,19 +5,23 @@ include $(CONFIGFILE) OBJ =\ editasroot.o\ + common.o\ copier.o +HDR =\ + common.h + all: editasroot copier -$(OBJ): $(@:.o=.c) +$(OBJ): $(HDR) .c.o: $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) -editasroot: editasroot.o - $(CC) -o $@ $@.o $(LDFLAGS) +editasroot: editasroot.o common.o + $(CC) -o $@ $@.o common.o $(LDFLAGS) -copier: copier.o - $(CC) -o $@ $@.o $(LDFLAGS) +copier: copier.o common.o + $(CC) -o $@ $@.o common.o $(LDFLAGS) install: editasroot copier mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" -- cgit v1.2.3-70-g09d2