diff options
author | Mattias Andrée <maandree@kth.se> | 2021-09-16 16:23:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-09-16 16:23:23 +0200 |
commit | 0ae720729039b317276c5c8083a5864d8f99a6cb (patch) | |
tree | c307e2295d76cf70e6927db5254f0a0c26ba8bec /Makefile | |
parent | misc + change license + remove info manual (diff) | |
download | crt-calibrator-0ae720729039b317276c5c8083a5864d8f99a6cb.tar.gz crt-calibrator-0ae720729039b317276c5c8083a5864d8f99a6cb.tar.bz2 crt-calibrator-0ae720729039b317276c5c8083a5864d8f99a6cb.tar.xz |
Improve makefile, fix uninstall rule, and fix style erros1.3.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -12,8 +12,9 @@ OBJ =\ HDR = common.h + all: crt-calibrator -$(OBJ): $(@:.o=.c) $(HDR) +$(OBJ): $(HDR) crt-calibrator: $(OBJ) $(CC) -o $@ $(OBJ) $(LDFLAGS) @@ -28,11 +29,11 @@ install: crt-calibrator cp -- crt-calibrator.1 "$(DESTDIR)$(MANPREFIX)/man1/" uninstall: - -rm -- "$(DESTDIR)$(BINDIR)/crt-calibrator" - -rm -- "$(DESTDIR)$(MAN1DIR)/crt-calibrator.1" + -rm -- "$(DESTDIR)$(PREFIX)/bin/crt-calibrator" + -rm -- "$(DESTDIR)$(MANPREFIX)/man1/crt-calibrator.1" clean: - -rm -rf -- crt-calibrator *.o + -rm -rf -- crt-calibrator *.o *.su .SUFFIXES: .SUFFIXES: .o .c |