1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-06-08 17:20:41 +00:00
This commit is contained in:
Your Name 2021-05-04 02:33:52 +04:30
parent ceebe07942
commit f5d5c68064
18 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@
GAMES_DIR?=/usr/games
SCORES_DIR?=/var/games
MAN_DIR?=/usr/share/man/man6
CFLAGS+= -O3 -Wno-unused-result -D SCORES_DIR=\"$(SCORES_DIR)\"
LDFLAGS+= -lncurses -lm
@ -19,7 +19,8 @@ scorefiles:
for sf in $(SCORE_FILES); do touch $(SCORES_DIR)/$$sf ; chown :games $(SCORES_DIR)/$$sf ; done;
for game in $(ALL); do chown :games $(GAMES_DIR)/$$game; chmod +s $(GAMES_DIR)/$$game ; done;
manpages:
cp man/* $(MAN_DIR)
jewels: jewels.c config.h common.h
$(CC) jewels.c $(LDFLAGS) $(CFLAGS) -o ./jewels
sudoku: sudoku.c config.h
@ -58,7 +59,7 @@ snakeduel: snakeduel.c config.h
clean:
rm $(ALL)
uninstall:
for game in $(ALL); do rm $(GAMES_DIR)/$$game; done;
for game in $(ALL); do rm $(GAMES_DIR)/$$game; rm $(MAN_DIR)/$$game.6.gz done;
install: $(ALL)
cp $(ALL) $(GAMES_DIR)

BIN
man/battleship.6.gz Normal file

Binary file not shown.

BIN
man/checkers.6.gz Normal file

Binary file not shown.

BIN
man/darrt.6.gz Normal file

Binary file not shown.

BIN
man/fifteen.6.gz Normal file

Binary file not shown.

BIN
man/fisher.6.gz Normal file

Binary file not shown.

BIN
man/jewels.6.gz Normal file

Binary file not shown.

BIN
man/memoblocks.6.gz Normal file

Binary file not shown.

BIN
man/miketron.6.gz Normal file

Binary file not shown.

BIN
man/mines.6.gz Normal file

Binary file not shown.

BIN
man/muncher.6.gz Normal file

Binary file not shown.

BIN
man/pipes.6.gz Normal file

Binary file not shown.

BIN
man/rabbithole.6.gz Normal file

Binary file not shown.

BIN
man/redsquare.6.gz Normal file

Binary file not shown.

BIN
man/reversi.6.gz Normal file

Binary file not shown.

BIN
man/snakeduel.6.gz Normal file

Binary file not shown.

BIN
man/sos.6.gz Normal file

Binary file not shown.

BIN
man/sudoku.6.gz Normal file

Binary file not shown.