From 20f0a61ed0e5d36623c6a310bc44244f7ae765f8 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 2 Oct 2008 23:33:54 +0000 Subject: 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 --- src/protocol/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/protocol/Makefile') diff --git a/src/protocol/Makefile b/src/protocol/Makefile index ab837e459..96e63739d 100644 --- a/src/protocol/Makefile +++ b/src/protocol/Makefile @@ -21,10 +21,10 @@ install: distclean: clean 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: @@ -43,3 +43,4 @@ clean: subs_clean spotless: subs_clean rm -f *.o *.s *.so *.c~ core *.so Makefile.inc + -- cgit