Explorar el Código

Makefile - download jokes only once

master
Dejvino hace 1 año
padre
commit
e9d28497b7
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      Makefile

+ 3
- 3
Makefile Ver fichero

@@ -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



Cargando…
Cancelar
Guardar