.KEEP_STATE:
CFLAGS = -g -c -W -Wpointer-arith
# compiler-flags
CLIBRARY = /zib/Gnu/lib
# path for library
LFLAGS = -g -ldl -lm -L$(CLIBRARY) 
# linker flags

CC = gcc
#compiler name

PROGRAM = test
NEWOBJS =  mystd.o message.o matvec.o qrmat.o
OBJS =  $(NEWOBJS)

default: $(NEWOBJS) test.o makefile
	$(CC) test.o $(OBJS) -o $(PROGRAM) $(LFLAGS)
