Skip to content

Commit

Permalink
better Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
veltzer committed Oct 2, 2024
1 parent 5a52d73 commit 8c041f2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ Q:=@
#.SILENT:
endif # DO_MKDBG

# dependency on the makefile itself
ifeq ($(DO_ALLDEP),1)
.EXTRA_PREREQS+=$(foreach mk, ${MAKEFILE_LIST},$(abspath ${mk}))
endif # DO_ALLDEP

ALL+=main.elf

#########
Expand Down Expand Up @@ -61,3 +56,10 @@ clean:
clean_hard:
$(info doing [$@])
$(Q)git clean -qffxd

##########
# alldep #
##########
ifeq ($(DO_ALLDEP),1)
.EXTRA_PREREQS+=$(foreach mk, ${MAKEFILE_LIST},$(abspath ${mk}))
endif # DO_ALLDEP

0 comments on commit 8c041f2

Please sign in to comment.