Makefile: use a consistent style

This commit is contained in:
Daniel Micay 2012-06-08 12:46:58 -04:00
parent cfa9ef8f11
commit 0a258ecf9d
1 changed files with 2 additions and 2 deletions

View File

@ -15,14 +15,14 @@ CFLAGS := -std=c99 -O3 \
-Wc++-compat \ -Wc++-compat \
-Wbad-function-cast \ -Wbad-function-cast \
-Wunused-macros \ -Wunused-macros \
$(shell pkg-config --cflags ${GTK} ${VTE}) \ ${shell pkg-config --cflags ${GTK} ${VTE}} \
${CFLAGS} ${CFLAGS}
ifeq (${CC}, clang) ifeq (${CC}, clang)
CFLAGS += -Wno-missing-field-initializers CFLAGS += -Wno-missing-field-initializers
endif endif
LDFLAGS := -s -Wl,--as-needed $(shell pkg-config --libs ${GTK} ${VTE}) ${LDFLAGS} LDFLAGS := -s -Wl,--as-needed ${shell pkg-config --libs ${GTK} ${VTE}} ${LDFLAGS}
termite: termite.c config.h termite: termite.c config.h
${CC} ${CFLAGS} -o $@ $< ${LDFLAGS} ${CC} ${CFLAGS} -o $@ $< ${LDFLAGS}