From 3629c87b3b8669b9646df40d39be640ed96834b0 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Mon, 24 Sep 2007 21:35:05 +0000 Subject: [PATCH] Add Makefile for ezscript. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2692 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- plugins/ezscript/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 plugins/ezscript/Makefile diff --git a/plugins/ezscript/Makefile b/plugins/ezscript/Makefile new file mode 100644 index 000000000..ef2fd2484 --- /dev/null +++ b/plugins/ezscript/Makefile @@ -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) + +