Makefile: use a consistent style
This commit is contained in:
parent
cfa9ef8f11
commit
0a258ecf9d
4
Makefile
4
Makefile
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue