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:
Molgrum 2007-09-24 21:35:05 +00:00
parent 1e21805c70
commit 3629c87b3b

16
plugins/ezscript/Makefile Normal file
View 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)