mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
9702e7c044
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2796 fc73d0e0-1445-4013-8a0c-d673dee63da5
15 lines
409 B
Makefile
15 lines
409 B
Makefile
LCC_FLAGS=-DQ3_VM -S -Wf-target=bytecode -Wf-g
|
|
|
|
qvm:
|
|
lcc $(LCC_FLAGS) jabberclient.c; lcc $(LCC_FLAGS) ../memory.c; lcc $(LCC_FLAGS) ../plugin.c; lcc $(LCC_FLAGS) ../qvm_api.c; q3asm -f jabbercl
|
|
clean:
|
|
rm -rf $(OBJECTS) $(OUTFILE) *.qvm *.asm
|
|
|
|
all: native
|
|
|
|
native:
|
|
gcc -shared -fPIC -ggdb jabberclient.c ../qvm_api.c ../plugin.c -o jabberx86.so
|
|
|
|
install: native
|
|
cp jabberx86.so /opt/quake/fte/plugins/
|
|
|