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 550B

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