From: Art Cancro Date: Fri, 3 Dec 1999 00:18:20 +0000 (+0000) Subject: * Added ".c.o" rule to Makefile X-Git-Tag: v7.86~7421 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=51f4d37821df73c1caacf83215881d518a0a332a;p=citadel.git * Added ".c.o" rule to Makefile --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index ac5917297..16dd4d70c 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 1.108 1999/12/03 00:18:20 ajc +* Added ".c.o" rule to Makefile + Revision 1.107 1999/11/26 03:32:59 ajc * Started moving all of the global variables into a struct, to facilitate multithreaded server. @@ -316,3 +319,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/Makefile.in b/webcit/Makefile.in index 17fc32ea8..a88fd4080 100644 --- a/webcit/Makefile.in +++ b/webcit/Makefile.in @@ -12,6 +12,7 @@ srcdir=@srcdir@ all: webserver webcit +.SUFFIXES: .c .o clean: rm -f *.o webcit webserver @@ -25,15 +26,8 @@ webserver: webserver.o context_loop.o tools.o \ $(CC) webserver.o context_loop.o tools.o cookie_conversion.o \ locate_host.o $(LIBOBJS) $(LIBS) -o webserver -webserver.o: webserver.c webcit.h - $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT -DWEBCITDIR=\"`pwd`\" webserver.c - -context_loop.o: context_loop.c webcit.h webserver.h - $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT context_loop.c - -snprintf.o: snprintf.c - $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT snprintf.c - +.c.o: + $(CC) $(CFLAGS) $(DEFS) -c -D_REENTRANT -DWEBCITDIR=\"`pwd`\" $< webcit: webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \ @@ -45,66 +39,6 @@ webcit: webcit.o auth.o tcp_sockets.o mainmenu.o serv_func.o who.o \ mime_parser.o graphics.o netconf.o cookie_conversion.o \ wildmat.o braindamage.o -o webcit -webcit.o: webcit.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c webcit.c - -auth.o: auth.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c auth.c - -tcp_sockets.o: tcp_sockets.c webcit.h - $(CC) $(CFLAGS) $(DEFS) -c tcp_sockets.c - -mainmenu.o: mainmenu.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c mainmenu.c - -serv_func.o: serv_func.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c serv_func.c - -who.o: who.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c who.c - -userlist.o: userlist.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c userlist.c - -tools.o: tools.c webcit.h - $(CC) $(CFLAGS) $(DEFS) -c tools.c - -roomops.o: roomops.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c roomops.c - -messages.o: messages.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c messages.c - -graphics.o: graphics.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c graphics.c - -paging.o: paging.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c paging.c - -sysmsgs.o: sysmsgs.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c sysmsgs.c - -mime_parser.o: mime_parser.c webcit.h child.h mime_parser.h - $(CC) $(CFLAGS) $(DEFS) -c mime_parser.c - -cookie_conversion.o: cookie_conversion.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c cookie_conversion.c - -siteconfig.o: siteconfig.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c siteconfig.c - -netconf.o: netconf.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c netconf.c - -locate_host.o: locate_host.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c locate_host.c - -wildmat.o: wildmat.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c wildmat.c - -braindamage.o: braindamage.c webcit.h child.h - $(CC) $(CFLAGS) $(DEFS) -c braindamage.c - Makefile: $(srcdir)/Makefile.in config.status CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status