1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
TARGET := $(shell pwd | sed 's|.*/\(.*\)$$|\1|') EXTERNALS_ROOT := $(shell pwd | sed 's|^\(/.*externals\).*|\1|') default: make -C $(EXTERNALS_ROOT) $(TARGET) install: make -C $(EXTERNALS_ROOT) $(TARGET)_install clean: make -C $(EXTERNALS_ROOT) $(TARGET)_clean test_locations: make -C $(EXTERNALS_ROOT) test_locations