aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 86de8d6157d0ebbcc926636755270c3947eb4d7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
.PHONY: clean

all: rxmsal-go rxmsal-c

rxmsal-go: rxmsal-go.go
	go build -o $@

rxmsal-c: rxmsal-c.c
	$(CC) -Wall -Wextra -pedantic -o $@ $< $(shell pkg-config --cflags --libs json-c) $(shell pkg-config --cflags --libs libcurl) $(shell pkg-config --cflags --libs openssl)

clean:
	rm -fv rxmsal-c rxmsal-go