summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruser <user@localhost.localdomain>2019-12-06 18:23:54 -0800
committeruser <user@localhost.localdomain>2019-12-06 18:23:54 -0800
commit972548bb5c09424ad305c0039e6b0530ea478ca7 (patch)
treeae2bd092d410c7188f504e79688ec8a2428ce67a
parent6d645ef832a913756e6d3c196f8df74fa8925f4a (diff)
downloadstandingwithresilience-972548bb5c09424ad305c0039e6b0530ea478ca7.tar.gz
standingwithresilience-972548bb5c09424ad305c0039e6b0530ea478ca7.zip
used make funcs to put level0 in level1
-rw-r--r--starts/meaning-vm/makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/starts/meaning-vm/makefile b/starts/meaning-vm/makefile
index e2e175d..dba9eac 100644
--- a/starts/meaning-vm/makefile
+++ b/starts/meaning-vm/makefile
@@ -3,11 +3,11 @@ LINK.o=$(LINK.cc)
all: level0 level1 habit-starts/rhythm
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
+liblevel0.a: $(patsubst %.cpp,%.o,$(wildcard level-0/*.cpp))
+level1: level1.o liblevel1.a
+liblevel1.a: $(patsubst %.cpp,%.o,$(wildcard level-0/*.cpp)) $(patsubst %.cpp,%.o,$(wildcard level-1/*.cpp))
-habit-starts/rhythm: habit-starts/rhythm.o liblevel1.a liblevel0.a
+habit-starts/rhythm: habit-starts/rhythm.o liblevel1.a
liblevel%.a: level-%/*.hpp
%.a: