CFLAGS = -Wall -std=c99
LDLIBS = -lm

default: out.txt
	cat $<           # $< equals out.txt

out.txt: test
	./$< > $@        # $< equals test, $@ equals out.txt

test: test.o komplex.o

test.o komplex.o: komplex.h

clean:
	$(RM) test out* *.o *~
