-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathmakefile
73 lines (44 loc) · 1.97 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# Makefile for Elite - The New Kind.
#
CC = gcc
WRES = windres
LIBS = -s -mwindows -lalleg_s -lkernel32 -lgdi32 -lcomdlg32 -luser32 -lole32 -lddraw -ldxguid -lwinmm -ldsound -ldinput
CFLAGS = -mpentium -O2 -funroll-loops -Wall -DALLEGRO_STATICLINK
OBJS = alg_gfx.o alg_main.o docked.o elite.o\
intro.o planet.o shipdata.o shipface.o sound.o space.o\
swat.o threed.o vector.o random.o trade.o options.o \
stars.o missions.o nkres.o pilot.o file.o keyboard.o
.c.o:
$(CC) $(CFLAGS) -c $<
newkind.exe: $(OBJS)
$(CC) -o newkind.exe $(OBJS) $(LIBS)
nkres.o: nkres.rc
$(WRES) nkres.rc nkres.o
alg_gfx.o: alg_gfx.c alg_data.h config.h elite.h planet.h gfx.h
alg_main.o: alg_main.c alg_data.h config.h elite.h planet.h gfx.h docked.h\
intro.h shipdata.h shipface.h space.h main.h pilot.h file.h keyboard.h
docked.o: docked.c config.h elite.h planet.h gfx.h
elite.o: elite.c config.h elite.h planet.h vector.h shipdata.h
intro.o: intro.c space.h config.h elite.h planet.h gfx.h vector.h\
shipdata.h shipface.h threed.h
planet.o: planet.c config.h elite.h planet.h
shipdata.o: shipdata.c shipdata.h vector.h
shipface.o: shipface.c config.h elite.h planet.h shipface.h gfx.h
threed.o: threed.c space.h config.h elite.h planet.h gfx.h vector.h shipdata.h\
shipface.h threed.h
vector.o: vector.c config.h vector.h
sound.o: sound.c sound.h
space.o: space.c space.h vector.h alg_data.h config.h elite.h planet.h\
gfx.h docked.h intro.h shipdata.h shipface.h main.h random.h
swat.o: swat.c swat.h elite.h config.h main.h gfx.h alg_data.h shipdata.h\
random.h pilot.h
random.o: random.c random.h
trade.o: trade.c trade.h elite.h config.h
options.o: options.c options.h elite.h config.h gfx.h file.h
stars.o: stars.c stars.h elite.h config.h gfx.h random.h
missions.o: missions.c missions.h config.h elite.h gfx.h planet.h main.h\
vector.h space.h
pilot.o: pilot.c pilot.h config.h elite.h gfx.h vector.h space.h main.h
file.o: file.c file.h config.h elite.h
keyboard.o: keyboard.c keyboard.h