blob: 009367e1a593ee48d7b1a2ae3c06f059bbd89369 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.POSIX:
LDFLAGS=-static
CFLAGS=-g -Og -Wshadow -Wall -Wextra -Wshadow
all: parse receive
parse: parse_cgi.o cJSON.o
$(CC) $(LDFLAGS) -o $@ parse_cgi.o cJSON.o
clean:
rm -f parse_cgi.o cJSON.o parse receive
test: parse test.json
./parse < test.json
.PHONY: all clean test
|