diff --git a/common.mk b/build.mk similarity index 100% rename from common.mk rename to build.mk diff --git a/cgpt/Makefile b/cgpt/Makefile index 546656d345..8e810d421c 100644 --- a/cgpt/Makefile +++ b/cgpt/Makefile @@ -48,7 +48,7 @@ LIB_CGPT_CC_SRCS = \ main: $(PROGNAME) -include ../common.mk +include ../build.mk LIB_CGPT_CC_OBJS = $(filter %.o, \ $(LIB_CGPT_CC_SRCS:%.c=${BUILD_ROOT}/%.o) \ diff --git a/firmware/Makefile b/firmware/Makefile index 811c158baa..6dcf0bb3c0 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -115,7 +115,7 @@ else test : $(FWLIB) endif -include ../common.mk +include ../build.mk $(FWLIB) : $(LIB_OBJS) rm -f $@ diff --git a/host/Makefile b/host/Makefile index 3e3eb4cdb1..c4b24d0bb6 100644 --- a/host/Makefile +++ b/host/Makefile @@ -37,7 +37,7 @@ test : $(HOSTLIB) $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out $(TESTDIR)/main.c \ $(HOSTLIB) -lcrypto -include ../common.mk +include ../build.mk $(HOSTLIB) : $(ALL_OBJS) $(FWLIB) rm -rf $@ $(BUILD_ROOT)/.tmp