From f374ae6ab24e4661d3f2fdc256e356c56f0425f1 Mon Sep 17 00:00:00 2001 From: Arvid Norlander Date: Thu, 29 Sep 2022 17:45:52 +0200 Subject: [PATCH] Build system: Allow override on command line. --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 85208fa..2b484f6 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -BINDIR = bin +BINDIR ?= bin # Use the following flags on the CF macro definition as needed. # # -DBSD if you are on a BSD system @@ -23,7 +23,7 @@ BINDIR = bin # # -DAPPLEDOUBLE if you want to be able to use an AppleDouble file system # -CF = -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DNODOT -DAPPLEDOUBLE +CF ?= -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DNODOT -DAPPLEDOUBLE all: (cd crc; make CF='$(CF)')