Skip to content

Commit

Permalink
fix makefile echo
Browse files Browse the repository at this point in the history
  • Loading branch information
mnholtz committed Sep 20, 2023
1 parent 90cb704 commit d77859c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@
# ~/emsdk-portable/emsdk activate latest
# source ~/emsdk-portable/emsdk_env.sh

all: jq.asm.js jq.asm.min.js jq.wasm.js jq.wasm.min.js jq.wasm.wasm jq.asm.bundle.js jq.asm.bundle.min.js
all: echoPath jq.asm.js jq.asm.min.js jq.wasm.js jq.wasm.min.js jq.wasm.wasm jq.asm.bundle.js jq.asm.bundle.min.js

clean:
rm jq.*

echoPath:
@echo $(PATH)

jq/configure: .gitmodules
git submodule update --init
cd jq && \
Expand All @@ -22,7 +25,7 @@ jq/configure: .gitmodules
autoreconf -fi

jq/jq.o: jq/configure
cd jq && echo $PATH && echo "\n\n\n" && \
cd jq && \
emconfigure ./configure --disable-maintainer-mode --with-oniguruma=builtin && \
make clean && \
env CCFLAGS=-O2 emmake make LDFLAGS=-all-static CCFLAGS=-O2 -j4 && \
Expand Down

0 comments on commit d77859c

Please sign in to comment.