2 # Makefile for Elite - The New Kind, source release 1.0.
5 # Instructions for use:
7 # Copy this file to the source directory.
9 # Enter "make -f makefile-linux".
11 # Unzip the Windows distribution from the E:TNK website.
13 # Copy the file "newkind" from the source directory into the same directory as
14 # the Windows newkind.exe file that you just unzipped.
16 # "cd" to that directory and enter "./newkind &".
18 # Select wisely in battle, and be strong. =)
22 LIBS = `allegro-config --libs`
23 CFLAGS = -O3 -mpentium -Wall -fomit-frame-pointer -funroll-loops
24 OBJS = alg_gfx.o alg_main.o docked.o elite.o \
25 intro.o planet.o shipdata.o shipface.o sound.o space.o \
26 swat.o threed.o vector.o random.o trade.o options.o \
27 stars.o missions.o pilot.o file.o keyboard.o
41 $(CC) -o $(EXEC) $(OBJS) $(LIBS)
44 alg_gfx.o: alg_gfx.c alg_data.h config.h elite.h planet.h gfx.h
46 alg_main.o: alg_main.c alg_data.h config.h elite.h planet.h gfx.h docked.h\
47 intro.h shipdata.h shipface.h space.h main.h pilot.h file.h keyboard.h
49 docked.o: docked.c config.h elite.h planet.h gfx.h
51 elite.o: elite.c config.h elite.h planet.h vector.h shipdata.h
53 intro.o: intro.c space.h config.h elite.h planet.h gfx.h vector.h\
54 shipdata.h shipface.h threed.h
56 planet.o: planet.c config.h elite.h planet.h
58 shipdata.o: shipdata.c shipdata.h vector.h
60 shipface.o: shipface.c config.h elite.h planet.h shipface.h gfx.h
62 threed.o: threed.c space.h config.h elite.h planet.h gfx.h vector.h shipdata.h\
65 vector.o: vector.c config.h vector.h
67 sound.o: sound.c sound.h
69 space.o: space.c space.h vector.h alg_data.h config.h elite.h planet.h\
70 gfx.h docked.h intro.h shipdata.h shipface.h main.h random.h
72 swat.o: swat.c swat.h elite.h config.h main.h gfx.h alg_data.h shipdata.h\
75 random.o: random.c random.h
77 trade.o: trade.c trade.h elite.h config.h
79 options.o: options.c options.h elite.h config.h gfx.h file.h
81 stars.o: stars.c stars.h elite.h config.h gfx.h random.h
83 missions.o: missions.c missions.h config.h elite.h gfx.h planet.h main.h\
86 pilot.o: pilot.c pilot.h config.h elite.h gfx.h vector.h space.h main.h
88 file.o: file.c file.h config.h elite.h
90 keyboard.o: keyboard.c keyboard.h