Quake-III-Arena

Quake III Arena GPL Source Release
Log | Files | Refs

lcc.mak (947B)


      1 #
      2 # Makefile for Gladiator Bot library: gladiator.dll
      3 # Intended for LCC-Win32
      4 #
      5 
      6 CC=lcc
      7 CFLAGS=-DC_ONLY -o
      8 OBJS= be_aas_bspq2.obj \
      9 	be_aas_bsphl.obj \
     10 	be_aas_cluster.obj \
     11 	be_aas_debug.obj \
     12 	be_aas_entity.obj \
     13 	be_aas_file.obj \
     14 	be_aas_light.obj \
     15 	be_aas_main.obj \
     16 	be_aas_move.obj \
     17 	be_aas_optimize.obj \
     18 	be_aas_reach.obj \
     19 	be_aas_route.obj \
     20 	be_aas_routealt.obj \
     21 	be_aas_sample.obj \
     22 	be_aas_sound.obj \
     23 	be_ai2_dm.obj \
     24 	be_ai2_dmnet.obj \
     25 	be_ai2_main.obj \
     26 	be_ai_char.obj \
     27 	be_ai_chat.obj \
     28 	be_ai_goal.obj \
     29 	be_ai_load.obj \
     30 	be_ai_move.obj \
     31 	be_ai_weap.obj \
     32 	be_ai_weight.obj \
     33 	be_ea.obj \
     34 	be_interface.obj \
     35 	l_crc.obj \
     36 	l_libvar.obj \
     37 	l_log.obj \
     38 	l_memory.obj \
     39 	l_precomp.obj \
     40 	l_script.obj \
     41 	l_struct.obj \
     42 	l_utils.obj \
     43 	q_shared.obj
     44 
     45 all:	gladiator.dll
     46 
     47 gladiator.dll:	$(OBJS)
     48 	lcclnk -dll -entry GetBotAPI *.obj botlib.def -o gladiator.dll
     49 
     50 clean:
     51 	del *.obj gladiator.dll
     52 
     53 %.obj: %.c
     54 	$(CC) $(CFLAGS) $<
     55