|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 1722 (0x6ba)
Types: TextFile
Names: »Makefile«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Tetris/Makefile«
#
# Makefile for tetris
#
# 2/23/89
#
# adam margulies vespa@ssyx.ucsc.edu
# {...}!ucbvax!ucscc!ssyx!vespa
#
# makes: tetris debug install clean docs shar all new
#
# if this is a new installation use 'make new'
#
# where the binary will go
DESTDIR = /usr/games
# where the lib files go
LIBDIR = /usr/games/lib/tetris
# where the documentation goes
DOCDIR = /usr/games/Doc
# what the documentation is called
DOCNAME = tetris.doc
INC = tetris.h csr.h
OBJ = check_block.o\
check_horiz.o\
csr.o\
cursive.o\
define_shapes.o\
display_high.o\
draw_shadow.o\
drop_block.o\
end_game.o\
erase_horiz.o\
get_level.o\
init_tetris.o\
main.o\
print_shape.o\
process_input.o\
redefine.o\
save_game.o\
score.o\
set_level.o\
setup_next.o\
useful.o
tetris: $(OBJ) $(INC)
cc -O -s -o tetris $(OBJ) -ltermcap
chmod 2711 tetris
@echo "binary ready"
debug: $(OBJ) $(INC)
cc -g -o tetris $(OBJ) -ltermcap
chmod 2711 tetris
@echo "debug binary ready"
install:
install tetris $(DESTDIR)
chmod 2711 $(DESTDIR)/tetris
@echo "done"
clean:
/bin/rm -rf *.o tetris core nroff.out make.out
docs:
@/bin/rm -rf nroff.out
nroff -man tetris.man > nroff.out
@/bin/rm -rf $(DOCDIR)/$(DOCNAME)
mv nroff.out $(DOCDIR)/$(DOCNAME)
chmod 664 $(DOCDIR)/$(DOCNAME)
@echo "docs ready"
shar:
@/bin/rm -rf ../tetris.shar
shar README FILES Makefile help.tetris score.tetris monitor.tetris\
*.c *.h tetris.man > ../tetris.shar
@echo "shar ready"
all: clean docs tetris
new: all
@/bin/rm -rf $(LIBDIR)/{help, monitor, score}.tetris
@touch monitor.tetris
@touch score.tetris
mv {help, monitor, score}.tetris $(LIBDIR)
chmod 664 $(LIBDIR)/{help, monitor, score}.tetris
init_tetris.o: tetris.h