Skip to content

Commit

Permalink
Trap trying to build non-existent files
Browse files Browse the repository at this point in the history
Fixes #1, finally!
  • Loading branch information
ISSOtm committed Mar 14, 2021
1 parent 5d85532 commit 9d6c135
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,8 @@ $(OBJDIR)/%.o $(DEPDIR)/%.mk: $(SRCDIR)/%.asm
ifneq ($(MAKECMDGOALS),clean)
-include $(patsubst $(SRCDIR)/%.asm,$(DEPDIR)/%.mk,$(SRCS))
endif

# Catch non-existent files
# KEEP THIS LAST!!
%:
@false

0 comments on commit 9d6c135

Please sign in to comment.