|
|
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: 1092 (0x444)
Types: TextFile
Names: »Makefile.nonImake«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/X/Xrobots/Makefile.nonImake«
# For those of us who are still confused by Imake,
# this makefile is not its offspring. :-)
TASK = xrobots
# TASK = /usr/games/xrobots
SCORE_FILE = -DSCORE_FILE=\"/usr/games/lib/xrobots_scores\"
MAXSCORES = -DMAXSCORES=20
MAXX = -DMAXX=35
MAXY = -DMAXY=20
DEFINES = $(SCORE_FILE) $(MAXSCORES) $(MAXX) $(MAXY)
INCDIR = /usr/local/include
LIBDIR = /usr/local/lib
LIBS = -lXaw -lXt -lXmu -lX11 -lm
DBXFLAGS =
CFLAGS = $(DBXFLAGS) -I$(INCDIR) $(DEFINES)
LDFLAGS = $(DBXFLAGS) -L$(LIBDIR) $(LIBS)
CFILES = main.c game.c callbacks.c graphics.c score.c help.c
OBJECTS = main.o game.o callbacks.o graphics.o score.o help.o
INCLUDES = game.h graphics.h bitmaps.h score.h help.h
default: $(TASK)
$(TASK): $(OBJECTS) $(INCLUDES)
cc -o $@ $(OBJECTS) $(LDFLAGS)
.c.o:
cc -c $*.c $(CFLAGS)
tags: $(CFILES) $(INCLUDES)
ctags -t $(INCLUDES) $(CFILES)
lint:
lint -I$(INCDIR) $(CFILES)
man::
nroff -man xrobots.man
clean::
rm -f $(OBJECTS)