summaryrefslogtreecommitdiffstats
path: root/sail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sail/Makefile')
-rw-r--r--sail/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/sail/Makefile b/sail/Makefile
index 6d50ae19..4eac58be 100644
--- a/sail/Makefile
+++ b/sail/Makefile
@@ -10,13 +10,13 @@ MAN= sail.6
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) -d $(DESTDIR)/var/games
+ $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
+ $(GINSTALL) -d $(DESTDIR)/$(LOCALSTATEDIR)/games
clean:
rm -f $(CLEANFILES) $(PROG)