diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,12 +1,15 @@ CC = cc CFLAGS=-std=c99 -pedantic-errors -Wall +LIBS = -lncursesw BIN=cli-tube +all: build + build: main.c - $(CC) $(CFLAGS) main.c -o $(BIN) + $(CC) $(CFLAGS) main.c -o $(BIN) $(LIBS) debug: main.c - $(CC) -g main.c -o $(BIN) $(CFLAGS) + $(CC) -g main.c -o $(BIN) $(CFLAGS) $(LIBS) valgrind --leak-check=full ./$(BIN) foo bar clean: |