Minimal forward-port to modern C - just enough to get it to compile.
[open-adventure.git] / Makefile
1 # NOTE: This version of Adventure was developed by the author on private
2 # equipment, and has been ported to Sun for entertainment purposes only.
3 # The author (Don Woods) retains full rights to the work.
4
5 OBJS=main.o init.o actions1.o actions2.o score.o misc.o datime.o
6
7 .c.o:
8         gcc -O $(DBX) -c $<
9
10 adventure:      $(OBJS)
11         gcc -O $(DBX) -o adventure $(OBJS)
12
13 main.o:         misc.h funcs.h
14
15 init.o:         misc.h main.h share.h funcs.h
16
17 actions1.o:     misc.h main.h share.h funcs.h
18
19 actions2.o:     misc.h main.h share.h funcs.h
20
21 score.o:        misc.h main.h share.h
22
23 misc.o:         misc.h main.h
24
25 clean:
26         rm -f *.o adventure