mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +00:00
Remove old .mak files from botlib
This commit is contained in:
parent
319df2d4d7
commit
6983187a99
2 changed files with 0 additions and 147 deletions
|
@ -1,55 +0,0 @@
|
|||
#
|
||||
# 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) $<
|
||||
|
|
@ -1,92 +0,0 @@
|
|||
#
|
||||
# Makefile for Gladiator Bot library: gladiator.so
|
||||
# Intended for gcc/Linux
|
||||
#
|
||||
|
||||
ARCH=i386
|
||||
CC=gcc
|
||||
BASE_CFLAGS=-Dstricmp=strcasecmp
|
||||
|
||||
#use these cflags to optimize it
|
||||
CFLAGS=$(BASE_CFLAGS) -m486 -O6 -ffast-math -funroll-loops \
|
||||
-fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
|
||||
-malign-jumps=2 -malign-functions=2
|
||||
#use these when debugging
|
||||
#CFLAGS=$(BASE_CFLAGS) -g
|
||||
|
||||
LDFLAGS=-ldl -lm
|
||||
SHLIBEXT=so
|
||||
SHLIBCFLAGS=-fPIC
|
||||
SHLIBLDFLAGS=-shared
|
||||
|
||||
DO_CC=$(CC) $(CFLAGS) $(SHLIBCFLAGS) -o $@ -c $<
|
||||
|
||||
#############################################################################
|
||||
# SETUP AND BUILD
|
||||
# GLADIATOR BOT
|
||||
#############################################################################
|
||||
|
||||
.c.o:
|
||||
$(DO_CC)
|
||||
|
||||
GAME_OBJS = \
|
||||
be_aas_bsphl.o\
|
||||
be_aas_bspq2.o\
|
||||
be_aas_cluster.o\
|
||||
be_aas_debug.o\
|
||||
be_aas_entity.o\
|
||||
be_aas_file.o\
|
||||
be_aas_light.o\
|
||||
be_aas_main.o\
|
||||
be_aas_move.o\
|
||||
be_aas_optimize.o\
|
||||
be_aas_reach.o\
|
||||
be_aas_route.o\
|
||||
be_aas_routealt.o\
|
||||
be_aas_sample.o\
|
||||
be_aas_sound.o\
|
||||
be_ai2_dmq2.o\
|
||||
be_ai2_dmhl.o\
|
||||
be_ai2_dmnet.o\
|
||||
be_ai2_main.o\
|
||||
be_ai_char.o\
|
||||
be_ai_chat.o\
|
||||
be_ai_goal.o\
|
||||
be_ai_load.o\
|
||||
be_ai_move.o\
|
||||
be_ai_weap.o\
|
||||
be_ai_weight.o\
|
||||
be_ea.o\
|
||||
be_interface.o\
|
||||
l_crc.o\
|
||||
l_libvar.o\
|
||||
l_log.o\
|
||||
l_memory.o\
|
||||
l_precomp.o\
|
||||
l_script.o\
|
||||
l_struct.o\
|
||||
l_utils.o\
|
||||
q_shared.o
|
||||
|
||||
glad$(ARCH).$(SHLIBEXT) : $(GAME_OBJS)
|
||||
$(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(GAME_OBJS)
|
||||
|
||||
|
||||
#############################################################################
|
||||
# MISC
|
||||
#############################################################################
|
||||
|
||||
clean:
|
||||
-rm -f $(GAME_OBJS)
|
||||
|
||||
depend:
|
||||
gcc -MM $(GAME_OBJS:.o=.c)
|
||||
|
||||
|
||||
install:
|
||||
cp gladiator.so ..
|
||||
|
||||
#
|
||||
# From "make depend"
|
||||
#
|
||||
|
Loading…
Reference in a new issue