1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 09:23:13 +02:00

Add run-cc.pl from inspircd, only difference is support .c files too :)

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1383 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-10-02 23:33:54 +00:00
parent 71bce363b9
commit 20f0a61ed0
6 changed files with 223 additions and 9 deletions
+2 -2
View File
@@ -24,10 +24,10 @@ install:
distclean: spotless
.c.o:
$(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../${INCLUDEDIR} -c $<
@../../run-cc.pl $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../${INCLUDEDIR} -c $<
.o.s:
$(CC) ${SHARED} ../mod_version.o $< -o $*.so ${PROFILE}
@../../run-cc.pl $(CC) ${SHARED} ../mod_version.o $< -o $*.so ${PROFILE}
@$(TOUCH) $*.s
subs: