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

⟦06b8a844d⟧ TextFile

    Length: 652 (0x28c)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

BINDIR=/ufs/play/games.sun
CFLAGS=-O
#CFLAGS=-g

PROG=tetris
CFILES=main.c event.c init.c shape.c support.c notify.c colours.c window.c \
		score.c draw.c
OFILES=main.o event.o init.o shape.o support.o notify.o colours.o window.o \
		score.o draw.o

$(PROG):	$(OFILES)
	cc $(CFLAGS) -o $(PROG) $(OFILES) -lsuntool -lsunwindow -lpixrect

$(OFILES): defs.h

# tetris needs to be setuid so that the high scores file can be updated.
# if you don't like setuid programs on your system then just make sure
# that the high score file is globally read/writable.
install: $(PROG)
	install -s $(PROG) $(BINDIR)
	chmod u+s $(BINDIR)/$(PROG)

clean:
	rm *.o core