.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