CC=cc
BIN=/home/rudhar/bin
#INCDIR=../cgi-src/utftools
INCDIR=/var/www/cgi-src/utftools

all: utf8cntx-target utfcntxt-target

utf8cntx-target: $(BIN)/utf8cntx
utfcntxt-target: $(BIN)/utfcntxt

$(BIN)/utf8cntx: utf8cntx.c $(INCDIR)/utftools.c
	$(CC) -I $(INCDIR) utf8cntx.c $(INCDIR)/utftools.c
	chmod 750 a.out
	mv a.out $(BIN)/utf8cntx

$(BIN)/utfcntxt: utfcntxt.c $(INCDIR)/utftools.c
	$(CC) -I $(INCDIR) utfcntxt.c $(INCDIR)/utftools.c
	chmod 750 a.out
	mv a.out $(BIN)/utfcntxt

