Updated Makefile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2971 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1134af84f2
commit
633387d7a9
1 changed files with 4 additions and 1 deletions
|
@ -2,12 +2,15 @@ DO_CC=$(CC) -ggdb -fPIC -Wall $(CFLAGS) -o $@ -c $<
|
||||||
OBJECTS=ui_sbar.o plugin.o qvm_api.o
|
OBJECTS=ui_sbar.o plugin.o qvm_api.o
|
||||||
HEADERS=../plugin.h
|
HEADERS=../plugin.h
|
||||||
OUTFILE=../hudx86.so
|
OUTFILE=../hudx86.so
|
||||||
|
ASM=q3asm
|
||||||
|
#ASM=q3asm -vq3 #Uncomment this if you are using Icculus q3asm
|
||||||
|
LCC=q3lcc
|
||||||
LCC_FLAGS=-DQ3_VM -S -Wf-target=bytecode -Wf-g
|
LCC_FLAGS=-DQ3_VM -S -Wf-target=bytecode -Wf-g
|
||||||
all: $(OBJECTS)
|
all: $(OBJECTS)
|
||||||
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o $(OUTFILE)
|
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o $(OUTFILE)
|
||||||
|
|
||||||
qvm:
|
qvm:
|
||||||
lcc $(LCC_FLAGS) ui_sbar.c; lcc $(LCC_FLAGS) ../plugin.c; lcc $(LCC_FLAGS) ../qvm_api.c; q3asm -f qwui
|
$(LCC) $(LCC_FLAGS) ui_sbar.c; $(LCC) $(LCC_FLAGS) ../plugin.c; $(LCC) $(LCC_FLAGS) ../qvm_api.c; $(ASM) -f qwui
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(OBJECTS) $(OUTFILE) *.qvm *.asm
|
rm -rf $(OBJECTS) $(OUTFILE) *.qvm *.asm
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue