aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0dc11a2..2e70368 100644
--- a/Makefile
+++ b/Makefile
@@ -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