# End configuration section
+.SILENT:
+
SOURCES=utils/aidepost.c utils/stress.c utils/whobbs.c utils/citmail.c \
utils/setup.c utils/msgform.c utils/chkpw.c \
citserver$(EXEEXT): $(SERV_OBJS)
$(CC) $(SERV_OBJS) $(LDFLAGS) $(SERVER_LDFLAGS) $(LIBS) $(SERVER_LIBS) $(RESOLV) -o citserver$(EXEEXT)
-.c.o:
+%.o: %.c ${HEADERS}
+ echo "CC $<"
$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $< -o $@
aidepost$(EXEEXT): utils/aidepost.o config.o
SUBDIRS=$(LIB_SUBDIRS) $(PROG_SUBDIRS)
LOCALEDIR=@LOCALEDIR@
WWWDIR=@WWWDIR@
+HEADERS=calendar.h groupdav.h messages.h modules_init.h paramhandling.h preferences.h roomops.h subst.h sysdep.h tcp_sockets.h utils.h webcit.h webserver.h
# End of configuration section
mkdir-init:
mkdir locale
+.SILENT:
.SUFFIXES: .cpp .c .o
paramhandling.o utils.o ical_maps.o ical_subst.o static.o feed_generator.o \
$(LIBS)
-.c.o:
- $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) $<
+%.o: %.c ${HEADERS}
+ echo "CC $<"
+ $(CC) $(CFLAGS) $(DEFS) $(PTHREAD_DEFS) -c -o $@ $<
-.cpp.o:
- $(CC) $(CFLAGS) $(DEFS) -c $(PTHREAD_DEFS) $<
+%.o: %.cpp ${HEADERS}
+ echo "CC+ $<"
+ $(CC) $(CFLAGS) $(DEFS) $(PTHREAD_DEFS) -c -o $@ $<
Makefile: $(srcdir)/Makefile.in config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status