mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
Add Makefile for ezscript.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2692 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1e21805c70
commit
3629c87b3b
1 changed files with 16 additions and 0 deletions
16
plugins/ezscript/Makefile
Normal file
16
plugins/ezscript/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
DO_CC=$(CC) -ggdb -fPIC -Wall $(CFLAGS) -o $@ -c $<
|
||||||
|
OBJECTS=ezscript.o plugin.o qvm_api.o
|
||||||
|
HEADERS=../plugin.h
|
||||||
|
all: $(OBJECTS)
|
||||||
|
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o ../ezscriptx86.so
|
||||||
|
|
||||||
|
ezscript.o: ezscript.c $(HEADERS)
|
||||||
|
$(DO_CC)
|
||||||
|
|
||||||
|
plugin.o: ../plugin.c $(HEADERS)
|
||||||
|
$(DO_CC)
|
||||||
|
|
||||||
|
qvm_api.o: ../qvm_api.c $(HEADERS)
|
||||||
|
$(DO_CC)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue