diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 23:33:54 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 23:33:54 +0000 |
| commit | 20f0a61ed0e5d36623c6a310bc44244f7ae765f8 (patch) | |
| tree | 9a66047c4d79172399414e3ca4df07472ed108df /src/protocol/Makefile | |
| parent | 71bce363b95e185755aeb215860f36cc92c4ae64 (diff) | |
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
Diffstat (limited to 'src/protocol/Makefile')
| -rw-r--r-- | src/protocol/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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 + |
