From 6ba7f3a0ae53658a9dc59a4bca5db5ce6735bb62 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 21 Jul 2013 21:50:16 +0000 Subject: [PATCH] move config.mak to config.mak.def (so user can freely change it) --- Makefile | 6 ++++-- README | 1 + config.mak => config.mak.def | 0 3 files changed, 5 insertions(+), 2 deletions(-) rename config.mak => config.mak.def (100%) diff --git a/Makefile b/Makefile index 3383bad..b65c4d7 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,13 @@ SPEC_PATTERNS:=src/common/% src/api/% src/math/% CFLAGS:=-Isrc/common LDLIBS:=src/common/libtest.a --include config.mak - all: %.mk: +config.mak: + cp config.mak.def $@ +-include config.mak + define template $(1).BINS := $(1) $(1)-static D:=$$(dir $(1)) diff --git a/README b/README index 3a023f3..c4ece08 100644 --- a/README +++ b/README @@ -2,6 +2,7 @@ libc-test is developed as part of the musl project http://www.musl-libc.org/ configuring: + cp config.mak.def config.mak edit config.mak build and run tests: make diff --git a/config.mak b/config.mak.def similarity index 100% rename from config.mak rename to config.mak.def -- 2.20.1