DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦7cc9e3610⟧ TextFile

    Length: 656 (0x290)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Snake2/Makefile« 

TextFile

LOG = /usr/games/lib/snake2.scores

# choose system type from one of -DEUNICE, -DBSD42, -DBSD41, -DSYSV
UNIX = -DSYSV
#UNIX = -DBSD42

# choose timeout mechanism from one of
# -DBSD_SELECT, -DCMU_IPC, -DVMS or nothing for SYSV
TIMER = 
#TIMER = -DBSD_SELECT

CFLAGS = -O $(UNIX) $(TIMER) -DLOG=\"$(LOG)\"

LIBS = -lcurses
#LIBS = -lcurses -ltermcap
#LIBS = -lcurses -ltermlib

snake2: snake2.o quicksleep.o getkey.o
	cc -s -o snake2 snake2.o quicksleep.o getkey.o $(LIBS)

install:
	strip snake2
	cat /dev/null >> $(LOG)
	chmod 644 $(LOG)
	/etc/chown daemon snake2 $(LOG)
	chmod 4755 snake2
	mv snake2 /usr/local/bin

snake2.o: snake2.h
getkey.o: snake2.h