summaryrefslogtreecommitdiffstats
path: root/battlestar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'battlestar/Makefile')
-rw-r--r--battlestar/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/battlestar/Makefile b/battlestar/Makefile
index 639f21a2..ebd76187 100644
--- a/battlestar/Makefile
+++ b/battlestar/Makefile
@@ -11,12 +11,12 @@ MAN= battlestar.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) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
+ $(GINSTALL) -Dm644 $(MAN) $(DESTDIR)/$(PREFIX)/share/man/man6/$(MAN)
clean:
rm -f $(CLEANFILES) $(PROG)