forked from external-repos/squoosh
Fix makefile
This commit is contained in:
@@ -11,10 +11,8 @@ OUT_WASM := $(OUT_JS:.js=.wasm)
|
|||||||
|
|
||||||
all: $(OUT_JS)
|
all: $(OUT_JS)
|
||||||
|
|
||||||
# Define dependencies for all variations of build artifacts.
|
$(filter enc/%,$(OUT_JS)): enc/qoi_enc.o
|
||||||
enc/qoi_enc.js dec/qoi_dec.js: $(CODEC_DIR)/qoi.h
|
$(filter dec/%,$(OUT_JS)): dec/qoi_dec.o
|
||||||
$(filter enc/%,$(OUT_JS)): enc/qoi_enc.cpp
|
|
||||||
$(filter dec/%,$(OUT_JS)): dec/qoi_dec.cpp
|
|
||||||
|
|
||||||
# ALL .js FILES
|
# ALL .js FILES
|
||||||
$(OUT_JS):
|
$(OUT_JS):
|
||||||
@@ -28,7 +26,7 @@ $(OUT_JS):
|
|||||||
$+
|
$+
|
||||||
|
|
||||||
# ALL .o FILES
|
# ALL .o FILES
|
||||||
%.o: $(CODEC_DIR)
|
%.o: %.cpp $(CODEC_DIR)
|
||||||
$(info )
|
$(info )
|
||||||
$(info Making .o files)
|
$(info Making .o files)
|
||||||
$(info $$ + = $+)
|
$(info $$ + = $+)
|
||||||
|
|||||||
Reference in New Issue
Block a user