diff options
author | Mattias Andrée <maandree@kth.se> | 2021-09-04 11:38:03 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-09-04 11:38:03 +0200 |
commit | f467f59897f330d2a493e919108e62dffaa1f736 (patch) | |
tree | a93237eb61591401b481e47b2aaa9dc92042be1a /Makefile | |
parent | m (diff) | |
download | editasroot-f467f59897f330d2a493e919108e62dffaa1f736.tar.gz editasroot-f467f59897f330d2a493e919108e62dffaa1f736.tar.bz2 editasroot-f467f59897f330d2a493e919108e62dffaa1f736.tar.xz |
Communicate whether file transfers were completed
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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" |