1 2 3 4 5 6 7 8 9 10 11 12 13 14
CC?=gcc CFLAGS+=-Wall -std=gnu23 -O0 -g cli-test: cli-test.c cli.h $(CC) $(CFLAGS) -o cli-test cli-test.c cli-example: cli-example.c cli.h $(CC) $(CFLAGS) -o cli-example cli-example.c example: cli-example test: cli-test .PHONY: test example