Fixing a compilation issue, wherein two global vars, conf and chan, were defined...
[revinetd.git] / Makefile
blob0b4d68dc507653b2127f832aaeb9aee92ff30d51
1 CC = gcc
2 CFLAGS = -Wall -g -O2 -DHAVE_CONFIG_H
3 LDFLAGS =
4 OBJS = getopt.o revinetd.o misc.o proxy.o server.o relay_agt.o statistics.o
5 BINDIR = /usr/local/bin
6 INSTALL = ./install-sh
8 all : revinetd
10 revinetd : $(OBJS)
11 $(CC) -o $@ $(OBJS) $(LDFLAGS)
13 clean :
14 -rm -f core *.o revinetd
16 distclean :
17 -rm -f core *.o config.h revinetd Makefile config.status config.log
19 install:
20 $(INSTALL) -o 0 -g 0 -m 755 -c -s revinetd $(BINDIR)