restore make -C
This commit is contained in:
parent
fca85c7c3a
commit
1c936cde56
7
Makefile
7
Makefile
|
@ -1,7 +1,6 @@
|
||||||
MAKEFLAGS = --jobs=4
|
MAKEFLAGS = --jobs=4
|
||||||
UNAME != uname
|
UNAME != uname
|
||||||
MAKEDIR != pwd
|
MAKEDIR != pwd
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
# DBG --- build with debugging symbols and logging
|
# DBG --- build with debugging symbols and logging
|
||||||
|
|
||||||
|
@ -230,7 +229,7 @@ CDB_O := $(patsubst %.c, %.o, $(CDB_C))
|
||||||
$(CDB)/libcdb.a: $(CDB_O)
|
$(CDB)/libcdb.a: $(CDB_O)
|
||||||
mkdir -p $(BIN)
|
mkdir -p $(BIN)
|
||||||
rm -f $(CDB)/libcdb.a
|
rm -f $(CDB)/libcdb.a
|
||||||
ar rv $@ $^
|
make -C $(CDB) libcdb.a
|
||||||
|
|
||||||
tools/libcdb.a: $(CDB)/libcdb.a
|
tools/libcdb.a: $(CDB)/libcdb.a
|
||||||
cp $(CDB)/libcdb.a tools
|
cp $(CDB)/libcdb.a tools
|
||||||
|
@ -259,8 +258,8 @@ input.md: $(INPUTMD)
|
||||||
@./primum -d $* > $@
|
@./primum -d $* > $@
|
||||||
|
|
||||||
$(BIN)/libquickjs.a:
|
$(BIN)/libquickjs.a:
|
||||||
cd quickjs && make clean
|
make -C quickjs clean
|
||||||
cd quickjs && make SYSRT=$(SYSRT) TTARGET=$(TTARGET) ARCH=$(ARCH) DBG=$(DBG) OPT=$(OPT) AR=$(AR) OS=$(OS) libquickjs.a HOST_CC=$(CC) LEAK=$(LEAK)
|
make -C quickjs SYSRT=$(SYSRT) TTARGET=$(TTARGET) ARCH=$(ARCH) DBG=$(DBG) OPT=$(OPT) AR=$(AR) OS=$(OS) libquickjs.a HOST_CC=$(CC) LEAK=$(LEAK)
|
||||||
@mkdir -p $(BIN)
|
@mkdir -p $(BIN)
|
||||||
cp -rf quickjs/libquickjs.* $(BIN)
|
cp -rf quickjs/libquickjs.* $(BIN)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue