CC       = g++
CFLAGS   = -O -Wall
CPPFLAGS =
LDFLAGS  = -lm
SDIR     = .
IDIR     = /usr/local/lib/libcpp/gpp
LDIR     = /usr/local/lib/libcpp/gpp


ntw_raw	: ntw_raw.o 
	$(CC) -o ntw_raw ntw_raw.o $(LDIR)/libcpp.a $(LDFLAGS)

ntw_raw.o : $(SDIR)/ntw_raw.cc \
		$(IDIR)/usual.h $(IDIR)/tools.h $(IDIR)/realmat.h
	$(CC) -c $(CFLAGS) -I$(IDIR) $(SDIR)/ntw_raw.cc

clean :
	rm -f *.o core 

veryclean	:
	rm -f *.o ntw_raw core 
