diff options
| author | Cameron Katri <me@cameronkatri.com> | 2021-03-28 14:39:02 -0400 |
|---|---|---|
| committer | Cameron Katri <me@cameronkatri.com> | 2021-03-28 14:39:02 -0400 |
| commit | 23454acb66be2a88647262d98d50e0f115519ea0 (patch) | |
| tree | c593751ce3649be2e502fac3e080d6c0045b9fa0 /snake/snscore | |
| parent | 08eca96e71d96ad1f8e9b888875ab5570f208d19 (diff) | |
| download | bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.gz bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.zip | |
Use PREFIX now
Diffstat (limited to 'snake/snscore')
| -rw-r--r-- | snake/snscore/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/snake/snscore/Makefile b/snake/snscore/Makefile index 945b34d5..0a71046a 100644 --- a/snake/snscore/Makefile +++ b/snake/snscore/Makefile @@ -7,11 +7,11 @@ SRCS= snscore.c all: $(PROG) $(PROG): $(SRCS) - $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../snake + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) -I../snake -I$(ROOT) $(STRIP) $(PROG) install: $(PROG) $(MAN) - $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/usr/games/$(PROG) + $(GINSTALL) -Dm2755 $(PROG) $(DESTDIR)/$(PREFIX)/games/$(PROG) clean: rm -f $(CLEANFILES) $(PROG) |
