X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2FMakefile.in;h=b6cdbaa6d280b011efe5328e409190f80448cb08;hb=63f3ada05b99ec1994ab72cb0c8c0f44cd0f33c7;hp=ea2d67378f17c97afc341d33a96819e27afff106;hpb=ed2f854f1a43b7242dbde9eeee16646b8ccd8855;p=citadel.git diff --git a/webcit/Makefile.in b/webcit/Makefile.in index ea2d67378..b6cdbaa6d 100644 --- a/webcit/Makefile.in +++ b/webcit/Makefile.in @@ -24,7 +24,7 @@ SUBDIRS=$(LIB_SUBDIRS) $(PROG_SUBDIRS) all: all-progs-recursive webserver setup -.SUFFIXES: .c .o +.SUFFIXES: .cpp .c .o clean: rm -f *.o webcit webserver @@ -67,6 +67,9 @@ webserver: webserver.o context_loop.o tools.o ical_dezonify.o \ .c.o: $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) -DWEBCITDIR=\"$(prefix)\" -DLOCALEDIR=\"$(prefix)/locale\" $< +.cpp.o: + $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) -DWEBCITDIR=\"$(prefix)\" -DLOCALEDIR=\"$(prefix)/locale\" $< + Makefile: $(srcdir)/Makefile.in config.status CONFIG_FILES="Makefile" CONFIG_HEADERS= $(SHELL) ./config.status