Reorder CC arguments similarily
Output first, then all required objects and then the FLAGS
This commit is contained in:
parent
750e05f03b
commit
f0e4870d99
6
Makefile
6
Makefile
@ -64,10 +64,10 @@ debug: all
|
|||||||
${OBJ}: config.mk
|
${OBJ}: config.mk
|
||||||
|
|
||||||
dunst: ${OBJ} main.o
|
dunst: ${OBJ} main.o
|
||||||
${CC} ${CFLAGS} -o $@ ${OBJ} main.o ${LDFLAGS}
|
${CC} -o ${@} ${OBJ} main.o ${CFLAGS} ${LDFLAGS}
|
||||||
|
|
||||||
dunstify: dunstify.o
|
dunstify: dunstify.o
|
||||||
${CC} ${CFLAGS} -o $@ dunstify.o ${LDFLAGS}
|
${CC} -o ${@} dunstify.o ${CFLAGS} ${LDFLAGS}
|
||||||
|
|
||||||
.PHONY: test test-valgrind
|
.PHONY: test test-valgrind
|
||||||
test: test/test
|
test: test/test
|
||||||
@ -85,7 +85,7 @@ test-valgrind: test/test
|
|||||||
./test
|
./test
|
||||||
|
|
||||||
test/test: ${OBJ} ${TEST_OBJ}
|
test/test: ${OBJ} ${TEST_OBJ}
|
||||||
${CC} ${CFLAGS} -o $@ ${TEST_OBJ} ${OBJ} ${LDFLAGS}
|
${CC} -o ${@} ${TEST_OBJ} ${OBJ} ${CFLAGS} ${LDFLAGS}
|
||||||
|
|
||||||
.PHONY: doc doc-doxygen
|
.PHONY: doc doc-doxygen
|
||||||
doc: docs/dunst.1
|
doc: docs/dunst.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user