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

⟦04cf9d887⟧ TextFile

    Length: 683 (0x2ab)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

BINDIR=/usr/games/
CC=cc
CFLAGS=-O

INCLUDES = -I.

LIBS = -lXw -lXt -lX11

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

.c.o:
	$(CC) -c $(CFLAGS) $(INCLUDES) $*.c

$(PROG):	$(OFILES)
	$(CC) $(CFLAGS) -o $(PROG) $(OFILES) $(LIBS)

$(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