The Sol Programming 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.

build.sh 538B

1234567891011121314151617181920212223
  1. if [ ! -f .submodule_stamp ]; then
  2. git submodule init && git submodule sync && git submodule update
  3. touch .submodule_stamp
  4. fi
  5. if [ -z "$CFLAGS" ]; then
  6. CFLAGS=-g
  7. fi
  8. gcc -c $CFLAGS dsl/seq.c
  9. gcc -c $CFLAGS dsl/list.c
  10. gcc -c $CFLAGS dsl/array.c
  11. gcc -c $CFLAGS dsl/generic.c
  12. gcc -c $CFLAGS lex.yy.c
  13. gcc -c $CFLAGS parser.tab.c
  14. gcc -c $CFLAGS astprint.c
  15. gcc -c $CFLAGS runtime.c
  16. gcc -c $CFLAGS gc.c
  17. gcc -c $CFLAGS object.c
  18. gcc -c $CFLAGS state.c
  19. gcc -c $CFLAGS builtins.c
  20. gcc -c $CFLAGS solrun.c
  21. gcc $CFLAGS *.o -o sol -lm -ldl