summary refs log blame commit diff stats
path: root/Makefile
blob: 009367e1a593ee48d7b1a2ae3c06f059bbd89369 (plain) (tree)
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