comp.mk 300 B

1234567891011121314151617181920212223242526272829
  1. # todo clean
  2. # make o hellope
  3. # for
  4. # odin run hellope.odin -file
  5. o:
  6. odin run $(filter-out $@,$(MAKECMDGOALS)).odin -file
  7. c:
  8. odin run .
  9. c2:
  10. odin build <dir>
  11. run:
  12. ./otest
  13. # ignore other - cause - make: *** No rule to make target 'hellope'. Stop.
  14. %:
  15. @:
  16. default: run
  17. .PHONY: c c2 run