# This config.mk is created by AGentooCat # Cat'sMake v0.7.3 - under BSD-0-Clause # set to the program's name to enable program building PROGNAME=itoomail VERSION=v0.0.0 # same as PROGNAME (will be as lib(LIBNAME).(a|so)) LIBNAME= LIBVERSION=v0.0.0 # FLAGS is C-and-LD stuff # PROJ_C is project's C flags. # PROJ_ASM is ASseMbly, # PROJ_LD is linker. # the user can change CFLAGS/ASMFLAGS/LDFLAGS which will override these flags # (if the compiler favors the last arguments over the first ones) FLAGS = -Wall -Wextra -pipe PROJ_C = -I/usr/include/iniparser PROJ_ASM= PROJ_LD = # set the source files to be built for the program/library # dont prefix src/ or src/lib/ PROG_SRCS=main.c args.c config.c util.c mail.c sam.c smtp.c log.c linepoll.c pop.c LIB_SRCS= # what the program depends on (-l) PROG_LIBS=-liniparser -lsqlite3 -lnettle # if the library installs headers, place them under (root)/include # and add them here to be installed under (DESTDIR)/(PREFIX)/include # (omit "include/" part here) LIB_HEADS= # you can specify misc files (placed under contrib/) to be installed # ETC: /etc/ files # SHR: /usr/share/ files ETC_DATA= SHR_DATA= # starting with 0.7, CatsMake will look for "build_bin.c" or "build_lib.c" # to compile and run before the actual compilation (similar to Rust/Cargo's # "build.rs" feature). these will be compiled with "-O2 -pipe". # you can specify extra compilation flags here BUILD_BIN=-O2 -pipe BUILD_LIB=-O2 -pipe # if you don't want to auto-add (LIB)VERSION macros, set these variables NO_V_MACROS= NO_LV_MACROS=