aboutsummaryrefslogtreecommitdiffstats
path: root/code/botlib/lcc.mak
blob: f5567c3ad9f945f90b958f483e67852a3b7d1f03 (plain)
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
#
# Makefile for Gladiator Bot library: gladiator.dll
# Intended for LCC-Win32
#

CC=lcc
CFLAGS=-DC_ONLY -o
OBJS= be_aas_bspq2.obj \
	be_aas_bsphl.obj \
	be_aas_cluster.obj \
	be_aas_debug.obj \
	be_aas_entity.obj \
	be_aas_file.obj \
	be_aas_light.obj \
	be_aas_main.obj \
	be_aas_move.obj \
	be_aas_optimize.obj \
	be_aas_reach.obj \
	be_aas_route.obj \
	be_aas_routealt.obj \
	be_aas_sample.obj \
	be_aas_sound.obj \
	be_ai2_dm.obj \
	be_ai2_dmnet.obj \
	be_ai2_main.obj \
	be_ai_char.obj \
	be_ai_chat.obj \
	be_ai_goal.obj \
	be_ai_load.obj \
	be_ai_move.obj \
	be_ai_weap.obj \
	be_ai_weight.obj \
	be_ea.obj \
	be_interface.obj \
	l_crc.obj \
	l_libvar.obj \
	l_log.obj \
	l_memory.obj \
	l_precomp.obj \
	l_script.obj \
	l_struct.obj \
	l_utils.obj \
	q_shared.obj

all:	gladiator.dll

gladiator.dll:	$(OBJS)
	lcclnk -dll -entry GetBotAPI *.obj botlib.def -o gladiator.dll

clean:
	del *.obj gladiator.dll

%.obj: %.c
	$(CC) $(CFLAGS) $<