home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
games
/
volume13
/
xsokoban3
/
part02
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-02-11
|
1KB
|
34 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/usr/local/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/usr/local/lib -lX11
CC = gcc
OBJECTS = display.o main.o resources.o play.o score.o screen.o save.o
DEST = /usr/tmp
xsokoban: $(OBJECTS)
$(CC) $(CFLAGS) -o xsokoban $(OBJECTS) $(LIBS)
install: xsokoban
install -s xsokoban $(DEST)/xsokoban
clean :
rm xsokoban $(OBJECTS)
# DO NOT DELETE THIS LINE -- make depend depends on it.
display.o: display.c globals.h defaults.h help.h externs.h
main.o: main.c globals.h options.h errors.h externs.h
play.o: play.c globals.h externs.h
resources.o: resources.c globals.h externs.h
screen.o: screen.c globals.h externs.h
score.o: score.c globals.h externs.h
save.o: save.c globals.h externs.h