blob: 11226e75c09b9109671b2bc1d5ff8dec843fbe35 (
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
BIN = monitor
SRC = main.c monitor.c
$(BIN): $(SRC)
$(CC) -o $@ $(CFLAGS) $^ $(LDFLAGS)
.PHONY: clean
clean:
rm $(BIN)
|