Makefile - download jokes only once
This commit is contained in:
parent
3cc530864b
commit
e9d28497b7
6
Makefile
6
Makefile
@ -5,10 +5,10 @@ DST_IMAGES := $(sort $(addprefix build/,$(addsuffix .bmp,$(notdir $(basename $(S
|
||||
|
||||
all: clean build
|
||||
|
||||
download: jokes.json
|
||||
download: build/jokes.json
|
||||
|
||||
jokes.json: build-dir
|
||||
curl -o build/jokes.json https://github.com/wiz64/superfun/raw/main/database/ichd/jokes-file.json
|
||||
build/jokes.json: build-dir
|
||||
[ -e build/jokes.json ] || curl -o build/jokes.json https://github.com/wiz64/superfun/raw/main/database/ichd/jokes-file.json
|
||||
|
||||
build: build-dir images download
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user