thisdir = mkdir
include ../subdir.mk

all: $(b)/m

$(b)/m: $(s)/test.c
	mkdir -p $(b)
	$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@

test check: dotest

dotest: $(b)/m
	$(Q)$(s)/dotest

clean:
	rm -f $(b)/m

.PHONY: all basic dotest test check clean
