# change the following lines to suit your needs
TOPDIR=/usr/local
BINDIR=$(TOPDIR)/bin
MANDIR=$(TOPDIR)/man/man1
INSTALL=/usr/bin/install -c
# change the following only if you know what you're doing
DEFINES=-D__UNIX__
CXXFLAGS= -I. $(DEFINES) -O2 -Wall -ansi -c
CXX=c++
LD=c++
LIB=

all: conf

conf: conf.o appconf.o
	$(LD) -o $@ $^ $(LIB)

install: conf
	$(INSTALL) -m 0755 conf $(BINDIR)
	$(INSTALL) -m 0644 conf.1.gz $(MANDIR)

clean:
	rm -f core conf *.o
