Browse Source

Makefile - download jokes only once

master
Dejvino 1 year ago
parent
commit
e9d28497b7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile View File

@@ -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…
Cancel
Save