DBGL = -DDEBUG_LEVEL=1 -g

fimg2povhf:	fimg2povhf.c Makefile
	gcc -Wall $(DBGL) $< -limage -lfloatimg -lm -o $@

# --------------------------------------------------------

demo_fmorph:	demo_fmorph.c Makefile
	gcc -Wall $(DBGL) $< -lfloatimg -lpnglite -lm -o $@

in.fimg:	Makefile
	mkfimg -t tpat0 -v $@ 640 480 

out.png:	in.fimg demo_fmorph
	./demo_fmorph $< $@

# --------------------------------------------------------