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

⟦b097bb5af⟧ TextFile

    Length: 2018 (0x7e2)
    Types: TextFile
    Names: »Makefile«

Derivation

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

TextFile

CFILES= main.c joystick.c sparks.c regions.c qmove.c polyfill.c \
	polygon_area.c polyfill_rec.c score.c
OBJS= main.o joystick.o sparks.o regions.o qmove.o polyfill.o score.o
REC_OBJS= main.o joystick.o sparks.o regions.o qmove.o \
	polygon_area.o polyfill_rec.o
ICONS= joystick.lf joystick.rt joystick.up joystick.dn joystick.stop \
	spark1.pr spark2.pr spark3.pr spark4.pr marker.cursor qix.icon \
	mouse.rt.icon

#	Change these to suit your installation

SCOREFILE=/ufs/play/lib.sun/qix.score
BINDIR=/ufs/play/games.sun

CFLAGS= -O
LDFLAGS= 
LIBES= -lsuntool -lsunwindow -lpixrect

all: qix

qix:	${OBJS}
	@echo loading...
	@cc ${LDFLAGS} ${OBJS} ${LIBES} -o qix

install: all
	install -s -c -m 2711 -o play -g guest qix ${BINDIR}
	touch ${SCOREFILE}
	chmod 660 ${SCOREFILE}
	#-chgrp misc ${SCOREFILE}
	#-chown play ${SCOREFILE}

score.o:
	cc $(CFLAGS) -DSCOREFILE=\"${SCOREFILE}\" -c score.c

# qix with a recursive polygon file rather than iterative.
# If you use it you have to unlimit the stacksize in csh
# and check the code to make sure it's called right (it's old).
qrec: ${REC_OBJS}
	@echo loading...
	@cc ${LDFLAGS} ${REC_OBJS} ${LIBES} -o qrec

tarmail : ;  tar fcv - Makefile qix.h ${CFILES} ${ICONS} | compress | \
	btoa > qix.tarmail

shar: ; shar Makefile qix.h ${CFILES} ${ICONS} > qix.shar

clean:
	rm -f qix $(OBJS)

lint:
	lint -hbx $(CPPFLAGS) $(CFILES) $(LIBES)

depend: $(CFILES)
	makedep -i $(CPPFLAGS) $(CFILES)

# DO NOT EDIT BELOW THIS LINE -- or it will disappear when you "make depend"

main.o: ./qix.icon
main.o: main.c

joystick.o: ./joystick.dn
joystick.o: ./joystick.lf
joystick.o: ./joystick.rt
joystick.o: ./joystick.stop
joystick.o: ./joystick.up
joystick.o: ./marker.cursor
joystick.o: ./mouse.rt.icon
joystick.o: joystick.c

sparks.o: ./spark1.pr
sparks.o: ./spark2.pr
sparks.o: ./spark3.pr
sparks.o: ./spark4.pr
sparks.o: sparks.c

regions.o: regions.c

qmove.o: qmove.c

polyfill.o: polyfill.c

polygon_area.o: polygon_area.c

polyfill_rec.o: polyfill_rec.c

score.o: score.c