home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume13
/
xsokoban2
/
part02
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-01-13
|
959b
|
33 lines
# Uncomment the first one of this pair only if you are building under an AFS
# environment, and then only if you know exactly what this does.
#CFLAGS = -O -DVICE -I/usr/local/include -I/usr/local/include/res
CFLAGS = -g -I/home/include
# Uncomment the first one of this pair only if you are building under an AFS
# environment, and then only if you know exactly what this does.
#LIBS = -L/usr/local/lib -lX11 $(AUTHLIBS) -L/usr/local/lib/res -lresolv
LIBS = -L/home/lib -lX11
CC = cc
OBJECTS = sok.o readscreen.o xdisp.o play.o save.o score.o
DEST = /afs/andrew.cmu.edu/usr5/jt1o/bin
xsokoban: $(OBJECTS)
$(CC) $(CFLAGS) -o xsokoban $(OBJECTS) $(LIBS)
install: xsokoban
install -s xsokoban $(DEST)/xsokoban
clean :
rm xsokoban $(OBJECTS)
sok.o: sok.c sokoban.h
readscreen.o: readscreen.c sokoban.h
showscreen.o: showscreen.c sokoban.h
play.o: play.c sokoban.h
save.o: save.c sokoban.h
score.o: score.c sokoban.h
xdisp.o: xdisp.c sokoban.h help.h