Update Makefiles for plugins.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2691 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-09-24 21:09:33 +00:00
parent 1a504ba342
commit 1e21805c70
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ DO_CC=$(CC) -ggdb -fPIC -Wall $(CFLAGS) -o $@ -c $<
OBJECTS=ui_sbar.o plugin.o qvm_api.o OBJECTS=ui_sbar.o plugin.o qvm_api.o
HEADERS=../plugin.h HEADERS=../plugin.h
all: $(OBJECTS) all: $(OBJECTS)
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o ../../quake/qw/plugins/hudx86.so $(CC) -ggdb -fPIC -shared $(OBJECTS) -o ../hudx86.so
ui_sbar.o: ui_sbar.c $(HEADERS) ui_sbar.o: ui_sbar.c $(HEADERS)
$(DO_CC) $(DO_CC)

View file

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