mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 20:32:43 +00:00
8e0c688b58
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1023 fc73d0e0-1445-4013-8a0c-d673dee63da5
16 lines
320 B
Makefile
16 lines
320 B
Makefile
|
|
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 ../../quake/qw/plugins/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)
|
|
|