Makefile: add to existing CFLAGS and don't set CC

This commit is contained in:
Daniel Micay 2012-05-22 09:10:19 -04:00
parent 12d1f402dd
commit 75ec07933f
1 changed files with 7 additions and 8 deletions

View File

@ -1,14 +1,13 @@
PREFIX = /usr/local
CC = gcc
CFLAGS = -std=c99 -O3 \
-Wall -Wextra -pedantic \
-Winit-self \
-Wshadow \
-Wformat=2 \
-Wmissing-declarations
CFLAGS += -std=c99 -O3 \
-Wall -Wextra -pedantic \
-Winit-self \
-Wshadow \
-Wformat=2 \
-Wmissing-declarations \
$(shell pkg-config --cflags gtk+-2.0 vte)
CFLAGS += $(shell pkg-config --cflags gtk+-2.0 vte)
LDFLAGS += -s -Wl,--as-needed $(shell pkg-config --libs gtk+-2.0 vte)
term: term.c config.h