Add Makefiles in example/ to easily rebuild all examples

This commit is contained in:
2021-10-31 16:38:27 -07:00
parent 82b2490256
commit 6c9df1cc02
5 changed files with 55 additions and 0 deletions

11
examples/Makefile Normal file
View File

@@ -0,0 +1,11 @@
ALL_DIRS = $(shell ls -d */)
.PHONY: clean $(ALL_DIRS)
default: $(ALL_DIRS)
$(ALL_DIRS):
make -C $@
clean:
rm -rf */srdl2sv_out