test_PROGRAMS += testpathplan
testpathplan_SOURCES = testpathplan.c
-testpathplan_LIBS = pathplan rt map m rbtree shist
+testpathplan_LIBS = pathplan rt map m rbtree shist map_2_png
test_PROGRAMS += testastar
testastar_SOURCES = testastar.c
-testastar_LIBS = pathplan map m
+testastar_LIBS = pathplan map m map_2_png
+
+test_PROGRAMS += testmap_2_png
+testmap_2_png_SOURCES = testmap_2_png.c
+testmap_2_png_LIBS = pathplan map m map_2_png
+
+test_PROGRAMS += testmasks
+testmasks_SOURCES = testmasks.c
+testmasks_LIBS = pathplan map m map_2_png
+
+lib_LOADLIBES += png
-test_PROGRAMS += testbitmaps
-testbitmaps_SOURCES = testbitmaps.c
-testbitmaps_LIBS = pathplan map m