~jack/misc

misc/metscrape/Makefile -rw-r--r-- 265 bytes
008ecc90Jack Kelly Add functional-images to default.nix/ci 28 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
PKGS := libcurl libxml-2.0
CFLAGS := -std=gnu99 -Wall -Wextra $(shell pkg-config --cflags $(PKGS))
LIBS := $(shell pkg-config --libs $(PKGS))

all: metscrape

metscrape: metscrape.c
	gcc $(CFLAGS) -o $@ $< $(LIBS)

clean:
	-rm -f metscrape *.gif

.PHONY: all clean