Got this:
Code:
make chkpaw --no-print-directory
make -f run.mak chkpaw
git -C ./cloned/mak pull --verbose
POST git-upload-pack (155 bytes)
From https://gitlab.com/awsdert/mak
= [up to date] master -> origin/master
run.mak:6: *** missing separator. Stop.
make: *** [GNUmakefile:9: chkpaw] Error 2
Compilation failed.
From this:
Code:
include dir.mak
pull_mak:=git -C $(MAK_DIR) pull --verbose
$(info $(pull_mak))
$(shell $(pull_mak))
I'm not seeing the error, I know this is technically unrelated to C but I figured my fellow members here have had similar experience in this problem, any ideas?
For reference dir.mak looks like this:
Code:
TOP_DIR?=.
BIN_DIR?=$(TOP_DIR)/bin
LIB_DIR?=$(TOP_DIR)/lib
SRC_DIR?=$(TOP_DIR)/src
OBJ_DIR?=$(TOP_DIR)/obj
INC_DIR?=$(TOP_DIR)/include
CLONED_DIR?=$(TOP_DIR)/cloned
MAK_DIR?=$(CLONED_DIR)/mak
ALL_DIR:=$(BIN_DIR) $(LIB_DIR) $(SRC_DIR) $(OBJ_DIR) $(INC_DIR) $(CLONED_DIR)
directories: $(ALL_DIR:%=%/) $(MAK_DIR)/
%/:
mkdir
$(MAK_DIR)/:
git -C $(CLONED_DIR) clone https://gitlab.com/awsdert/mak.git
.PHONY: directories