summaryrefslogtreecommitdiffstats
path: root/canfield/cfscores
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-03-28 14:39:02 -0400
committerCameron Katri <me@cameronkatri.com>2021-03-28 14:39:02 -0400
commit23454acb66be2a88647262d98d50e0f115519ea0 (patch)
treec593751ce3649be2e502fac3e080d6c0045b9fa0 /canfield/cfscores
parent08eca96e71d96ad1f8e9b888875ab5570f208d19 (diff)
downloadbsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.gz
bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.zst
bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.zip
Use PREFIX now
Diffstat (limited to 'canfield/cfscores')
-rw-r--r--canfield/cfscores/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/canfield/cfscores/Makefile b/canfield/cfscores/Makefile
index f8c9518e..4e32a5d2 100644
--- a/canfield/cfscores/Makefile
+++ b/canfield/cfscores/Makefile
@@ -7,11 +7,11 @@ SRCS= cfscores.c
all: $(PROG)
$(PROG): $(SRCS)
- $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../canfield
+ $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../canfield -I$(ROOT)
$(STRIP) $(PROG)
install: $(PROG) $(MAN)
- $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/usr/games/$(PROG)
+ $(GINSTALL) -Dm755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG)
clean:
rm -f $(CLEANFILES) $(PROG)