RASLIB= ./raslib/raslib.a

raspen: main_vplot.o init_vplot.o proc_vplot.o dovplot.o raslib/rasconf.c $(GENLIB) $(RASLIB)\
		 $(UTILLIB) $(LOCLIB)
	cc -c $(CFLAGS) raslib/rasconf.c
	cc $(CFLAGS) -o raspen main_vplot.o init_vplot.o proc_vplot.o dovplot.o rasconf.o $(RASLIB)\
				$(GENLIB) $(UTILLIB) $(LOCLIB) $(LIBS)
	rm -f rasconf.o

$(RASLIB): raslib/*.c
	cd raslib; make CFLAGS="${CFLAGS}"

