mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 12:01:25 +00:00
Updating the plugin Makefiles a little
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2705 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
64ea64fd2c
commit
8e80eff85c
4 changed files with 31 additions and 7 deletions
|
@ -1,14 +1,28 @@
|
|||
|
||||
all: hud irc
|
||||
all: ezscript hud irc
|
||||
|
||||
.PHONY: all hud irc
|
||||
clean: ezscript-clean hud-clean irc-clean
|
||||
|
||||
.PHONY: all ezscript hud irc
|
||||
|
||||
help:
|
||||
@-echo make a subdirectory
|
||||
|
||||
ezscript:
|
||||
$(MAKE) -C ezscript
|
||||
|
||||
ezscript-clean:
|
||||
$(MAKE) clean -C ezscript
|
||||
|
||||
hud:
|
||||
$(MAKE) -C hud
|
||||
|
||||
hud-clean:
|
||||
$(MAKE) clean -C hud
|
||||
|
||||
irc:
|
||||
$(MAKE) -C irc
|
||||
|
||||
irc-clean:
|
||||
$(MAKE) clean -C irc
|
||||
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
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 ../ezscriptx86.so
|
||||
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o $(OUTFILE)
|
||||
|
||||
clean:
|
||||
rm -rf $(OBJECTS) $(OUTFILE)
|
||||
|
||||
ezscript.o: ezscript.c $(HEADERS)
|
||||
$(DO_CC)
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
|
||||
DO_CC=$(CC) -ggdb -fPIC -Wall $(CFLAGS) -o $@ -c $<
|
||||
OBJECTS=ui_sbar.o plugin.o qvm_api.o
|
||||
HEADERS=../plugin.h
|
||||
OUTFILE=../hudx86.so
|
||||
all: $(OBJECTS)
|
||||
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o ../hudx86.so
|
||||
$(CC) -ggdb -fPIC -shared $(OBJECTS) -o $(OUTFILE)
|
||||
|
||||
clean:
|
||||
rm -rf $(OBJECTS) $(OUTFILE)
|
||||
|
||||
ui_sbar.o: ui_sbar.c $(HEADERS)
|
||||
$(DO_CC)
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
|
||||
DO_CC=$(CC) -fPIC $(CFLAGS) -o $@ -c $<
|
||||
OBJECTS=ircclient.o plugin.o qvm_api.o
|
||||
HEADERS=../plugin.h
|
||||
OUTFILE=../ircx86.so
|
||||
all: $(OBJECTS)
|
||||
gcc --shared -ldl $(OBJECTS) -o ../ircx86.so
|
||||
gcc --shared -ldl $(OBJECTS) -o $(OUTFILE)
|
||||
|
||||
clean:
|
||||
rm -rf $(OBJECTS) $(OUTFILE)
|
||||
|
||||
ircclient.o: ircclient.c $(HEADERS)
|
||||
$(DO_CC)
|
||||
|
|
Loading…
Reference in a new issue