mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-25 14:12:13 +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
220 B
Makefile
14 lines
220 B
Makefile
include ../../include/make/verbose.mk
|
|
|
|
CC = gcc
|
|
OPTIMIZE = -O2 -g
|
|
DEFINE =
|
|
INCLUDE =
|
|
OBJS = tcploop
|
|
|
|
tcploop: tcploop.c
|
|
$(cmd_CC) $(OPTIMIZE) $(DEFINE) $(INCLUDE) -o $@ $^
|
|
|
|
clean:
|
|
rm -f $(OBJS) *.[oas] *~
|