10 CFLAGS_OWN
=-Wall
-D_GNU_SOURCE
-std
=c99
-static
$(CFLAGS
)
11 #c99 for firedns compatibility (restrict keyword)
13 CFLAGS_OPT
=-s
-Os
-flto
-fwhole-program
14 CFLAGS_OPT_HEAVY
=$(CFLAGS_OPT
) -flto
-fwhole-program
-fno-asynchronous-unwind-tables
-nostartfiles
$(MUSL_DIR
)/lib
/crt1.o
18 CFLAGS_RCB_OPTH
=${CFLAGS_OWN} ${CFLAGS_OPT_HEAVY} -I
${INCLUDES} ${LINKLIBS} ${CFLAGS}
19 CFLAGS_RCB_OPT
=${CFLAGS_OWN} ${CFLAGS_OPT} -I
${INCLUDES} ${LINKLIBS} ${CFLAGS}
20 CFLAGS_RCB_DBG
=${CFLAGS_OWN} ${CFLAGS_DBG} -I
${INCLUDES} ${LINKLIBS} ${CFLAGS}
25 rm $(FNAME
).rcb
$(FNAME
).out
$(FNAME
).o
28 CFLAGS
="${CFLAGS_RCB_OPTH}" $(RCB
) ${RCBFLAGS} ${MAINFILE}
29 strip --remove-section .comment
$(FNAME
).out
30 strip --remove-section .comment.SUSE.OPTs
$(FNAME
).out
33 CFLAGS
="${CFLAGS_RCB_OPT}" $(RCB
) ${RCBFLAGS} ${MAINFILE}
34 strip --remove-section .comment
$(FNAME
).out
37 CFLAGS
="${CFLAGS_RCB_DBG}" $(RCB
) ${RCBFLAGS} ${MAINFILE}
40 .PHONY
: all optimized debug