Ticket #11788: patch-Makefile.diff

File patch-Makefile.diff, 504 bytes (added by chpickel@…, 18 years ago)

New files/patch-Makefile.diff

  • Makefile

    old new  
    22
    33#default paths
    44BIN_PREFIX=/usr/bin/
    5 DATA_PREFIX=/var/games/
     5DATA_PREFIX=$(PREFIX)/var/games/bastet/
    66HISCORE=bastet.scores
    77
    88#in order to handle highscores properly, bastet must be setuid.
     
    1212
    1313CC=gcc
    1414CFLAGS=-Wall -DHIGHSCORE_FILE=\"$(DATA_PREFIX)$(HISCORE)\"
    15 LDFLAGS=-lncurses
     15LDFLAGS=-L$(PREFIX)/lib -lncurses
    1616SOURCES=main.c game.c highscore.c bast.c
    1717EXNAME=bastet
    1818