2007-09-24 21:35:05 +00:00
|
|
|
DO_CC=$(CC) -ggdb -fPIC -Wall $(CFLAGS) -o $@ -c $<
|
|
|
|
OBJECTS=ezscript.o plugin.o qvm_api.o
|
|
|
|
HEADERS=../plugin.h
|
2007-10-05 09:59:27 +00:00
|
|
|
OUTFILE=../ezscriptx86.so
|
2007-09-24 21:35:05 +00:00
|
|
|
all: $(OBJECTS)
|
2007-10-05 09:59:27 +00:00
|
|
|
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o $(OUTFILE)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(OBJECTS) $(OUTFILE)
|
2007-09-24 21:35:05 +00:00
|
|
|
|
|
|
|
ezscript.o: ezscript.c $(HEADERS)
|
|
|
|
$(DO_CC)
|
|
|
|
|
|
|
|
plugin.o: ../plugin.c $(HEADERS)
|
|
|
|
$(DO_CC)
|
|
|
|
|
|
|
|
qvm_api.o: ../qvm_api.c $(HEADERS)
|
|
|
|
$(DO_CC)
|
|
|
|
|
|
|
|
|