Skip to content

Commit

Permalink
Small Makefile Cleanup (#45)
Browse files Browse the repository at this point in the history
Fix some find warnings
  • Loading branch information
hensldm authored Feb 25, 2024
1 parent 818f3c6 commit f2202be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ endif

#### Files ####

$(shell mkdir -p asm assets linker_scripts/$(VERSION)/auto)
$(shell mkdir -p asm/$(VERSION) assets/$(VERSION) linker_scripts/$(VERSION)/auto)

ULTRALIB_DIR := lib/ultralib
ULTRALIB_LIB := $(ULTRALIB_DIR)/build/$(ULTRALIB_VERSION)/$(ULTRALIB_TARGET)/$(ULTRALIB_TARGET).a
Expand All @@ -194,7 +194,7 @@ LIBULTRA_LIB := $(BUILD_DIR)/$(LIBULTRA_DIR).a

SRC_DIRS := $(shell find src -type d)
ASM_DIRS := $(shell find asm/$(VERSION) -type d -not -path "asm/$(VERSION)/nonmatchings/*")
BIN_DIRS := $(shell find assets -type d)
BIN_DIRS := $(shell find assets/$(VERSION) -type d)
LIB_DIRS := $(foreach f, $(LIBULTRA_DIR), $f)

C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c))
Expand Down

0 comments on commit f2202be

Please sign in to comment.