Commit 9f3e2d88 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

Makefile: Build libraries in subdirectories

parent d67a3ab2
......@@ -84,6 +84,16 @@ $(VIDJIL): $(BINDIR)%: %.o $(LIBCORE)
make -C lib OPTIM="$(OPTIM)"
$(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS) $(CXXFLAGS)
###
# Subdirectories
###
core/%:
make -C core $(notdir $@)
lib/%:
make -C lib $(notdir $@)
clean:
make -C core $@
make -C lib $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment