old C version of package and build manager for sabotage linux, current version is written in shell/awk and can be found in KEEP/bin in the `sabotage` repo.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
458 B

MAINFILE=butch.c
CFLAGS_OWN=-Wall -D_XOPEN_SOURCE=700
CFLAGS_DBG=-g3 -O0
CFLAGS_OPT=-s -Os
CFLAGS_REQ=-std=c99
-include config.mak
CFLAGS_RCB_OPT=${CFLAGS_OWN} ${CFLAGS_OPT} ${CFLAGS} ${CFLAGS_REQ}
CFLAGS_RCB_DBG=${CFLAGS_OWN} ${CFLAGS_DBG} ${CFLAGS} ${CFLAGS_REQ}
RCB=rcb2
all: debug
optimized:
CFLAGS="${CFLAGS_RCB_OPT}" $(RCB) $(RCBFLAGS) ${MAINFILE}
debug:
CFLAGS="${CFLAGS_RCB_DBG}" $(RCB) $(RCBFLAGS) ${MAINFILE}
.PHONY: all optimized debug