add dbginfo to src/Makefile, add building dbginfo example to CI. Fixes #2681, supersedes #2682

This commit is contained in:
mrdudz
2025-06-12 20:53:55 +02:00
parent a8b9c05584
commit 86cf60d0e6
3 changed files with 8 additions and 1 deletions

View File

@@ -27,6 +27,9 @@ jobs:
- name: Build the tools.
shell: bash
run: make -j2 bin USER_CFLAGS=-Werror
- name: Build the dbginfo example
shell: bash
run: make -j2 src dbginfo
- name: Build the utilities.
shell: bash
run: make -j2 util

View File

@@ -50,6 +50,7 @@ test:
# GNU "check" target, which runs all tests
check:
@$(MAKE) -C .github/checks checkstyle --no-print-directory
@$(MAKE) -C src dbginfo --no-print-directory
@$(MAKE) test
@$(MAKE) -C targettest platforms --no-print-directory
@$(MAKE) -C samples platforms --no-print-directory

View File

@@ -21,7 +21,7 @@ PROGS = ar65 \
sim65 \
sp65
.PHONY: all mostlyclean clean install zip avail unavail bin $(PROGS)
.PHONY: all mostlyclean clean install zip avail unavail bin $(PROGS) dbginfo
.SUFFIXES:
@@ -168,4 +168,7 @@ $(eval $(call OBJS_template,common))
$(foreach prog,$(PROGS),$(eval $(call PROG_template,$(prog))))
dbginfo:
$(eval $(call PROG_template,dbginfo))
-include $(DEPS)