Ticket #41912: patch-Makefile.diff
File patch-Makefile.diff, 604 bytes (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Makefile
old new 2 2 3 3 #default paths 4 4 BIN_PREFIX=/usr/bin/ 5 DATA_PREFIX= /var/games/5 DATA_PREFIX=$(PREFIX)/var/games/bastet/ 6 6 HISCORE=bastet.scores 7 7 8 8 #in order to handle highscores properly, bastet must be setuid. … … 11 11 GAME_USER=games 12 12 13 13 CC=gcc 14 CFLAGS=- Wall -DHIGHSCORE_FILE=\"$(DATA_PREFIX)$(HISCORE)\"15 LDFLAGS=- lncurses14 CFLAGS=-std=gnu89 -Wall -DHIGHSCORE_FILE=\"$(DATA_PREFIX)$(HISCORE)\" 15 LDFLAGS=-L$(PREFIX)/lib -lncurses 16 16 SOURCES=main.c game.c highscore.c bast.c 17 17 EXNAME=bastet 18 18