#  The library libscl is available at
#  http://www.aronaldg.org/webfiles/libscl
#  Documentation is in the header files, esp. realmat.h, and in the
#  comments at the beginning of each function or class.

CC       = g++
SDIR     = .
IDIR     = $(HOME)/lib/libscl/gpp
LDIR     = $(HOME)/lib/libscl/gpp
CFLAGS   = -O -Wall -c -I$(SDIR) -I$(IDIR)
LFLAGS   = -lm -L$(LDIR) -lscl             

PROGRAMS = permit

permit : permit.o 
	$(CC) -o permit permit.o $(LFLAGS) 

permit.o : $(SDIR)/permit.cpp
	$(CC) $(CFLAGS) $(SDIR)/permit.cpp

clean :
	rm -f *.o
	rm -f core core.*

veryclean :
	rm -f *.o
	rm -f core core.*
	rm -f $(PROGRAMS)
