VERSION=0.3

# the directory where isdn.h can be found
ISDN_INCLUDE=/usr/src/isdn/include
#ISDN_INCLUDE=../../include


SBINPATH=/sbin
MAN8PATH=/usr/man/man8

CCFLAGS=-I$(ISDN_INCLUDE) -O6

# nothing to change behind this line

PROGS=imontty
MAN8FILES=imontty.8

all: $(PROGS)

imontty: imontty.cc 
	g++ $(CCFLAGS) -o imontty imontty.cc

install: $(PROGS)
	@strip $(PROGS)
	install -o root -g root -m 0755 $(PROGS) $(SBINPATH)
	install -o root -g root -m 0644 $(MAN8FILES) $(MAN8PATH)

clean:
	-@rm -f *.o $(PROGS) *~


