chiark / gitweb /
it compiles and links
[inn-innduct.git] / backends / Makefile
index 1d8071c937f8a7a9d27afbe130a23f00001da2f6..e6365d3437c25b3d3cfc4743d9a9e2c6cc7c5eb8 100644 (file)
@@ -63,6 +63,8 @@ $(FIXSCRIPT):
        @echo Run configure before running make.  See INSTALL for details.
        @exit 1
 
+innduct.o: CFLAGS += -Wimplicit -Wstrict-prototypes -Wmissing-prototypes
+
 actsync:       actsync.o    $(LIBINN)  ; $(LINK) actsync.o    $(INNLIBS)
 archive:       archive.o    $(BOTH)    ; $(LINK) archive.o    $(STORELIBS)
 batcher:       batcher.o    $(BOTH)    ; $(LINK) batcher.o    $(STORELIBS)
@@ -75,7 +77,7 @@ nntpget:      nntpget.o    $(BOTH)    ; $(LINK) nntpget.o    $(STORELIBS)
 overchan:      overchan.o   $(BOTH)    ; $(LINK) overchan.o   $(STORELIBS)
 shlock:                shlock.o     $(LIBINN)  ; $(LINK) shlock.o     $(INNLIBS)
 shrinkfile:    shrinkfile.o $(LIBINN)  ; $(LINK) shrinkfile.o $(INNLIBS)
-innduct:       innduct.o    $(LIBINN)  ; $(LINK) innduct.o    $(INNLIBS)
+innduct:       innduct.o    $(BOTH)    ; $(LINK) innduct.o $(STORELIBS) -loop
 
 buffchan:      buffchan.o map.o $(LIBINN)
        $(LINK) buffchan.o map.o $(LIBINN) $(LIBS)