summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-28 03:27:28 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-28 03:27:28 +0000
commit5dd00d1ad0cc102add41a70182287bae1af3f058 (patch)
tree2eba863911aa48b2862bd3daba616aa3bbf6c120 /src
parentd84f1081d81ceaafe1f4de1e8839ccce656dfdc2 (diff)
downloadhercules-5dd00d1ad0cc102add41a70182287bae1af3f058.tar.gz
hercules-5dd00d1ad0cc102add41a70182287bae1af3f058.tar.bz2
hercules-5dd00d1ad0cc102add41a70182287bae1af3f058.tar.xz
hercules-5dd00d1ad0cc102add41a70182287bae1af3f058.zip
Rearrange makefile so dependencies won't get overwritten by 'make depend'
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6338 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/Makefile b/src/plugins/Makefile
index 71cb6ec3a..599d0f1e3 100644
--- a/src/plugins/Makefile
+++ b/src/plugins/Makefile
@@ -22,6 +22,11 @@ httpd.$(PLUGINEXT): httpd.c
../common/obj/utils.o ../common/obj/ers.o
@touch $@
+sig.$(PLUGINEXT): sig.c
+ $(CC) $(CFLAGS) -shared -o ../../plugins/$@ $< \
+ ../common/obj/showmsg.o
+ @touch $@
+
gui.$(PLUGINEXT): ../../plugins/gui.conf
httpd.$(PLUGINEXT): ../../plugins/httpd.conf
upnp.$(PLUGINEXT): ../../plugins/upnp.conf
@@ -42,9 +47,5 @@ clean:
sample.$(PLUGINEXT): sample.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)
gui.$(PLUGINEXT): gui.c $(COMMON_H)