diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index e6e156c..641db8d 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -68,7 +68,7 @@ jobs: steps: - name: Install dependencies - run: apt update && apt install -qy openjdk-11-jdk-headless git + run: apt update && apt install -qy openjdk-17-jdk-headless git - name: Download app binary uses: actions/download-artifact@v2 diff --git a/Makefile b/Makefile index 4432873..ed2c34e 100755 --- a/Makefile +++ b/Makefile @@ -138,8 +138,7 @@ else DEFINES += PRINTF\(...\)= endif -AUTOGEN_SRC := src/txnTypeLists.c -AUTOGEN_OBJ := $(AUTOGEN_SRC:src/%.c=obj/%.o) +AUTOGEN_SRC := $(PWD)/src/txnTypeLists.c SOURCE_FILES += $(AUTOGEN_SRC) @@ -147,8 +146,6 @@ SOURCE_FILES += $(AUTOGEN_SRC) all: default -$(AUTOGEN_OBJ): src/authAndSignTxn.c $(AUTOGEN_SRC) - $(AUTOGEN_SRC): createTxnTypes.py txtypes.txt python ./createTxnTypes.py > $@