fteqw/plugins/irc/Makefile

17 lines
300 B
Makefile
Raw Normal View History

DO_CC=$(CC) -fPIC $(CFLAGS) -o $@ -c $<
OBJECTS=ircclient.o plugin.o qvm_api.o
HEADERS=../plugin.h
all: $(OBJECTS)
gcc --shared -ldl $(OBJECTS) -o ../ircx86.so
ircclient.o: ircclient.c $(HEADERS)
$(DO_CC)
plugin.o: ../plugin.c $(HEADERS)
$(DO_CC)
qvm_api.o: ../qvm_api.c $(HEADERS)
$(DO_CC)