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

⟦8985da072⟧ TextFile

    Length: 1170 (0x492)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

# Makefile for "tt" - Tetris for Terminals (ie. not just workstations)
# ====================================================================

SOURCES = tt.c utils.c screen.c pieces.c game.c
HEADERS = tt.h utils.h screen.h pieces.h game.h 
OBJECTS = tt.o utils.o screen.o pieces.o game.o

LDFLAGS =
CFLAGS =
LINTFLAGS =	-abh -DLINT
LIBRARIES =	-lcurses -ltermcap
TIDYUP =	| egrep -v 'possible pointer alignment problem' \
		| egrep -v 'long assignment may lose accuracy'

# ---------------------------------------------------------------------------

tt		: $(OBJECTS)
		  $(CC) $(LDFLAGS) $(CFLAGS) $(OBJECTS) -o tt $(LIBRARIES)

ttl		:
		  lint $(LINTFLAGS) $(SOURCES) $(TIDYUP)

lint		:
		  lint $(LINTFLAGS) $(SOURCES)

tags		:
		  etags *.[ch]

clean		:
		  rm -f *.o tt a.out core

# --------------------------------------------------------------------------

tt.o		: tt.c tt.h utils.h screen.h game.h

utils.o		: utils.c utils.h tt.h screen.h

screen.o	: screen.c screen.h tt.h pieces.h utils.h

pieces.o	: pieces.c pieces.h tt.h

game.o		: game.c game.h tt.h screen.h pieces.h utils.h

# --------------------------------------------------------------------------