Tue, 28 Aug 2018 13:45:22 +0200
using pkg-config in hand crafted make file
conf.mk | file | annotate | diff | comparison | revisions |
--- a/conf.mk Mon Mar 21 20:35:58 2016 +0100 +++ b/conf.mk Tue Aug 28 13:45:22 2018 +0200 @@ -32,10 +32,10 @@ BIN = terminal-chess CC = gcc -CFLAGS = -O2 -std=gnu99 -CFLAGS_D = -g -std=gnu99 -Wall -pedantic +CFLAGS = -O2 -std=gnu99 `pkg-config --cflags ncurses` +CFLAGS_D = -g -std=gnu99 -Wall -pedantic `pkg-config --cflags ncurses` LD = gcc -LDFLAGS = -lncurses +LDFLAGS = `pkg-config --libs ncurses` ARFLAGS = -r MKDIRFLAGS = -p RMFLAGS = -f -R