1CC ?= cc
2RM ?= rm -f
3
4CFLAGS ?= -O0 -g
5CFLAGS += -std=c99 -static -Wpedantic -Wall -Wextra -Werror
6CFLAGS += -I../../include -I ../../compat/POSIX/include
7
8hello-client: main.c ../../ninenano.a
9 $(CC) $(CFLAGS) -o $@ $^
10
11../../ninenano.a:
12 "$(MAKE)" -C ../../ -f Makefile.posix
13
14clean:
15 $(RM) hello-client