aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 292b32a2de1688b9366c0d0accbef465ae33931e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CC = gcc
CFLAGS = -g -Wall -pedantic
LDFLAGS = -lmicrohttpd -lcurl -lm

BIN = monitor
SRC = main.c monitor.c config.c check.c

$(BIN): $(SRC)
	$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS)

.PHONY: clean
clean:
	rm $(BIN)