summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/makefile
blob: f1b4b12bbd79bb5456b4406b1e1962e900932752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CXXFLAGS=-Wall -Werror -std=c++17 -fno-operator-names -ggdb -O0
LINK.o=$(LINK.cc)

all: level0 level1
level0: level0.o liblevel0.a
liblevel0.a: level-0/memorystore.o level-0/concept.o level-0/ref.o
level1: level1.o liblevel1.a liblevel0.a
liblevel1.a: level-1/ref.o level-1/sugar.o level-1/concepts.o level-1/funcs.o
liblevel%.a: level-%/*.hpp
%.a:
	ar ru $@ $^
	ranlib $@

#main: main.o concept.o helpers.o memorystore.o meaning.o
#*.o: *.hpp  */*.hpp
clean:
	-rm *.o main level0 level1 level2 *.a */*.o