mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-09 13:05:01 +00:00
8dd672523f
The $(Q), $(V), $(cmd_xx) handling needs to be reused in sub-project makefiles and it's a pain to maintain inside the main makefile. Let's just move that into a new subdir include/make/ with a dedicated file "verbose.mk". It slightly cleans up the makefile in addition.
14 lines
210 B
Makefile
14 lines
210 B
Makefile
include ../../include/make/verbose.mk
|
|
|
|
CC = cc
|
|
OPTIMIZE = -O2 -g
|
|
DEFINE =
|
|
INCLUDE =
|
|
OBJS = poll
|
|
|
|
poll: poll.c
|
|
$(cmd_CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^
|
|
|
|
clean:
|
|
rm -f $(OBJS) *.[oas] *~
|