summaryrefslogtreecommitdiffstats
path: root/ching/printching/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ching/printching/Makefile')
-rw-r--r--ching/printching/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ching/printching/Makefile b/ching/printching/Makefile
index 4adbc181..e8e6634f 100644
--- a/ching/printching/Makefile
+++ b/ching/printching/Makefile
@@ -6,11 +6,11 @@ SRCS= printching.c
all: $(PROG)
$(PROG): $(SRCS)
- $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../include
+ $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../include -I$(ROOT)
$(STRIP) $(PROG)
install: $(PROG)
- $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/libexec/ching/$(PROG)
+ $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/libexec/ching/$(PROG)
clean:
rm -f $(CLEANFILES) $(PROG)