A minimal Bible format designed for the C language.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
327 B

  1. t ?= web
  2. all: clean translation compile
  3. compile:
  4. @$(CC) *.c
  5. @valgrind ./a.out
  6. translation:
  7. @mkdir bibles; curl http://api.heb12.com/translations/json/en/$(t).json > bibles/$(t).json
  8. @node compiler.js ./bibles/$(t).json c bibles
  9. @node compiler.js ./bibles/$(t).json i bibles
  10. clean:
  11. @rm -rf *.i *.json *.t bibles *.out