From 92f744e4216e9e48247891fb73c8fb9e42419f4c Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sun, 8 Feb 2009 19:05:35 +0000 Subject: Fixed Autotools to detect *.cpp files in the src/core and src/modules folders. Also small fix to the Windows install.js call to CMake to include quotes around the source's path. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1949 5417fbe8-f217-4b02-8779-1006273d7864 --- src/modules/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules/Makefile') diff --git a/src/modules/Makefile b/src/modules/Makefile index c964439a8..b75071a75 100644 --- a/src/modules/Makefile +++ b/src/modules/Makefile @@ -9,6 +9,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \ 'MAKEBIN=${MAKEBIN}' OBJECTS= $(SRCS:.c=.o) +OBJECTS+= $(SRCS:.cpp=.o) SO_FILES=$(OBJECTS:.o=.s) CDEFS= -rdynamic -Wall @@ -27,6 +28,9 @@ distclean: spotless .c.o: @$(MAKEBIN) $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../${INCLUDEDIR} -c $< +.cpp.o: + @$(MAKEBIN) $(CC) ${CFLAGS} ${CDEFS} ${MODULEFLAGS} -I../${INCLUDEDIR} -c $< + .o.s: @$(MAKEBIN) $(CC) ${SHARED} ../mod_version.o $< -o $*.so ${PROFILE} @$(TOUCH) $*.s -- cgit