Browse Source

Sol Part 41: It's Probably Not Solitaire!

master
Graham Northup 6 years ago
parent
commit
1b74dc5ca6
Signed by: grissess GPG Key ID: 5D000E6F539376FB
  1. 1
      .gitignore
  2. 4
      Makefile
  3. 2
      build.sh

1
.gitignore

@ -1,4 +1,5 @@
sol
solace
*.o
stdout
.submodule_stamp

4
Makefile

@ -4,7 +4,7 @@ OBJ= lex.yy.o parser.tab.o dsl/seq.o dsl/list.o dsl/array.o dsl/generic.o astpri
all: $(OBJ)
git submodule init && git submodule sync && git submodule update
gcc $(CFLAGS) $? $(LDFLAGS) -o sol
gcc $(CFLAGS) $? $(LDFLAGS) -o solace
%.o: %.c
gcc -c -o $@ $? $(CFLAGS)
@ -16,7 +16,7 @@ lex.yy.c: tokenizer.lex parser.tab.h
flex $<
clean:
rm -f *.o dsl/*.o sol
rm -f *.o dsl/*.o solace
docs: Doxyfile
doxygen Doxyfile

2
build.sh

@ -25,4 +25,4 @@ gcc -c $CFLAGS object.c
gcc -c $CFLAGS state.c
gcc -c $CFLAGS builtins.c
gcc -c $CFLAGS solrun.c
gcc $CFLAGS *.o -o sol -lm -ldl
gcc $CFLAGS *.o -o solace -lm -ldl
Loading…
Cancel
Save