Browse Source

Merge pull request #7 from lannonbr/master

Sol Part 37: Makefile Galore
master
Grissess 6 years ago
parent
commit
ef0a3226aa
  1. 12
      Makefile

12
Makefile

@ -0,0 +1,12 @@
CFLAGS= -g -DDEBUG_CC
OBJ= lex.yy.o parser.tab.o dsl/seq.o dsl/list.o dsl/array.o dsl/generic.o astprint.o runtime.o gc.o object.o state.o builtins.o solrun.o
all: $(OBJ)
git submodule init && git submodule sync && git submodule update
gcc $(CFLAGS) $? -o sol -lm -ldl
%.o: %.c
gcc -c -o $@ $? $(CFLAGS)
clean:
rm -f *.o dsl/*.o sol
Loading…
Cancel
Save