diff --git a/main/Makefile b/main/Makefile index 297391746e..e6aa7acece 100644 --- a/main/Makefile +++ b/main/Makefile @@ -31,7 +31,8 @@ ifeq ($(PJPROJECT_BUNDLED),yes) SRC:=$(filter-out libasteriskpj.c,$(SRC)) endif OBJSFILTER:=$(MOD_OBJS) fskmodem_int.o fskmodem_float.o cygload.o buildinfo.o -OBJS=$(filter-out $(OBJSFILTER),$(SRC:.c=.o)) +SRC_CC:=$(wildcard *.cc) +OBJS=$(filter-out $(OBJSFILTER),$(SRC:.c=.o) $(SRC_CC:.cc=.oo)) # we need to link in the objects statically, not as a library, because # otherwise modules will not have them available if none of the static