8e80eff85c
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2705 fc73d0e0-1445-4013-8a0c-d673dee63da5
20 lines
379 B
Makefile
20 lines
379 B
Makefile
DO_CC=$(CC) -ggdb -fPIC -Wall $(CFLAGS) -o $@ -c $<
|
|
OBJECTS=ezscript.o plugin.o qvm_api.o
|
|
HEADERS=../plugin.h
|
|
OUTFILE=../ezscriptx86.so
|
|
all: $(OBJECTS)
|
|
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o $(OUTFILE)
|
|
|
|
clean:
|
|
rm -rf $(OBJECTS) $(OUTFILE)
|
|
|
|
ezscript.o: ezscript.c $(HEADERS)
|
|
$(DO_CC)
|
|
|
|
plugin.o: ../plugin.c $(HEADERS)
|
|
$(DO_CC)
|
|
|
|
qvm_api.o: ../qvm_api.c $(HEADERS)
|
|
$(DO_CC)
|
|
|
|
|