summaryrefslogtreecommitdiffstats
path: root/canfield/canfield/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'canfield/canfield/Makefile')
-rw-r--r--canfield/canfield/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/canfield/canfield/Makefile b/canfield/canfield/Makefile
index 847dc040..212710a4 100644
--- a/canfield/canfield/Makefile
+++ b/canfield/canfield/Makefile
@@ -8,12 +8,12 @@ SRCS= canfield.c
all: $(PROG)
$(PROG): $(SRCS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) -lncursesw -I$(ROOT)
$(STRIP) $(PROG)
install: $(PROG) $(MAN)
- $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
- $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/usr/share/man/man6/$(MAN)
+ $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
clean:
rm -f $(CLEANFILES) $(PROG)