summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fee3fc3..f8dc20a 100644
--- a/Makefile
+++ b/Makefile
@@ -141,25 +141,23 @@ export LD
################################################################################
CFLAGS = -std=c11
-CFLAGS += `pkg-config --cflags gtk+-2.0`
CFLAGS += -D PROG_VERSION=\"$(PROGRAMVERSION)\"
CFLAGS += -D 'INSTALL_SHARE_DIR="$(INSTALL_SHARE_DIR)"'
CFLAGS += -D SHARE_DIR=\"$(SHARE_DIR)\"
CFLAGS += -D 'INSTALL_VAR_DIR="$(INSTALL_VAR_DIR)"'
CFLAGS += -D VAR_DIR=\"$(VAR_DIR)\"
-GTK_LIBS = `pkg-config --libs gtk+-2.0`
ifeq ($(OS), linux)
CFLAGS += -D OS_LINUX
- LIBS = -l m -l ncursesw $(GTK_LIBS)
+ LIBS = -l m -l ncursesw
else ifeq ($(OS), win)
CFLAGS += -D OS_WIN
# curses
CFLAGS += -D _XOPEN_SOURCE=500 -I /mingw/include/ncursesw -I /mingw/include
CURSES_LIBS = -L /mingw/lib -l ncursesw -l psapi
- LIBS = -static -l m $(CURSES_LIBS) $(GTK_LIBS)
+ LIBS = -static -l m $(CURSES_LIBS)
endif
export CFLAGS