"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "bogom-1.9.2/Makefile" of archive bogom-1.9.2.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 OBJS=bogom.o conf.o
    2 BIN=bogom
    3 MAN=bogom.8
    4 
    5 # default instalation prefix
    6 PREFIX=/usr/local
    7 
    8 # edit to fit your system configuration
    9 CPPFLAGS=
   10 CFLAGS+=-Wall -g
   11 LDFLAGS=
   12 LIBS+=-lmilter -lpthread
   13 
   14 all: $(BIN)
   15 
   16 bogom.o: milter.c conf.h
   17 	$(CC) $(CPPFLAGS) $(CFLAGS) -c milter.c -o bogom.o
   18 conf.o: conf.c conf.h
   19 	$(CC) $(CPPFLAGS) $(CFLAGS) -c conf.c -o conf.o
   20 
   21 $(BIN): $(OBJS)
   22 	$(CC) $(LDFLAGS) -o $(BIN) $(OBJS) $(LIBS)
   23 
   24 install: $(BIN) $(MAN)
   25 	cp -f $(BIN) $(PREFIX)/libexec
   26 	cp -f $(MAN) $(PREFIX)/man/man8
   27 
   28 clean:
   29 	rm -f $(BIN) $(OBJS)
   30