Rearrange makefile so dependencies won't get overwritten by 'make depend'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6338 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
4ded556eb0
commit
63a226a4a0
@ -22,6 +22,11 @@ httpd.$(PLUGINEXT): httpd.c
|
|||||||
../common/obj/utils.o ../common/obj/ers.o
|
../common/obj/utils.o ../common/obj/ers.o
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
|
sig.$(PLUGINEXT): sig.c
|
||||||
|
$(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< \
|
||||||
|
../common/obj/showmsg.o
|
||||||
|
@touch $@
|
||||||
|
|
||||||
gui.$(PLUGINEXT): ../../plugins/gui.conf
|
gui.$(PLUGINEXT): ../../plugins/gui.conf
|
||||||
httpd.$(PLUGINEXT): ../../plugins/httpd.conf
|
httpd.$(PLUGINEXT): ../../plugins/httpd.conf
|
||||||
upnp.$(PLUGINEXT): ../../plugins/upnp.conf
|
upnp.$(PLUGINEXT): ../../plugins/upnp.conf
|
||||||
@ -42,9 +47,5 @@ clean:
|
|||||||
|
|
||||||
sample.$(PLUGINEXT): sample.c $(COMMON_H)
|
sample.$(PLUGINEXT): sample.c $(COMMON_H)
|
||||||
sig.$(PLUGINEXT): sig.c $(COMMON_H)
|
sig.$(PLUGINEXT): sig.c $(COMMON_H)
|
||||||
$(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< \
|
|
||||||
../common/obj/showmsg.o
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
pid.$(PLUGINEXT): pid.c $(COMMON_H)
|
pid.$(PLUGINEXT): pid.c $(COMMON_H)
|
||||||
gui.$(PLUGINEXT): gui.c $(COMMON_H)
|
gui.$(PLUGINEXT): gui.c $(COMMON_H)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user