diff options
| author | iamcheeseman <[email protected]> | 2026-05-22 13:36:00 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-22 13:36:00 -0400 |
| commit | d9ed80ff077fe893800e4c32876567824a87390f (patch) | |
| tree | 2a32ceb2ede8f04aeaa0ab272c6020412631d84c /Makefile | |
| parent | b0fa516fae1eb5cac20515ab0994b68c62fabc79 (diff) | |
makefile: add echo and full-clean targets
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -5,10 +5,16 @@ SRC+=$(wildcard teensy/platform/${PLATFORM}/**/*.c) SRC+=$(wildcard teensy/platform/${PLATFORM}/*.c) OBJ=$(SRC:%.c=.obj/%.o) -.PHONY: all run clean +.PHONY: all echo run clean full-clean all: Makefile.dep ${OUT} +echo: + @echo CFLAGS=${CFLAGS} + @echo LDFLAGS=${LDFLAGS} + @echo SRC=${SRC} + @echo OBJ=${OBJ} + ${OUT}: ${OBJ} ${CC} -o $@ ${LDFLAGS} ${OBJ} @@ -28,4 +34,8 @@ run: all clean: rm -f ${OBJ} ${OUT} +# Don't use this unless you are fine with your custom config getting deleted +full-clean: clean + rm -rf .obj config.mk + include Makefile.dep |
