Skip to content

Commit

Permalink
Add missing dependency for previous patch
Browse files Browse the repository at this point in the history
  • Loading branch information
th-otto committed Apr 25, 2024
1 parent fcd7d44 commit 8ad4888
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 @@ -48,13 +48,13 @@ endif
FLAVOUR=$(addprefix -m,$(wordlist 2,100, $(subst ., ,$(CPU-FPU))))

define LIB_TEMPLATE
.lib$(1)/libgem.a::
.lib$(1)/libgem.a:: mt_gem.h
@test -d .lib$(1) || mkdir .lib$(1)
$(MAKE) -C .lib$(1) -f ../Makefile CPU-FPU=$(1) top_srcdir=.. srcdir=.. libgem.a
endef
define CC_TEMPLATE
$(1).o: $$(srcdir)/$(1)
$$(AM_V_CC)$$(CC) $$(CPU) $$(FLAVOUR) $$(CFLAGS) -c -o $$@ $$<
$$(AM_V_CC)$$(CC) $$(CPU) $$(FLAVOUR) $$(CFLAGS) -I$$(srcdir) -c -o $$@ $$<
endef

$(foreach DIR,$(ALL_LIBS),$(eval $(call LIB_TEMPLATE,$(DIR))))
Expand Down

0 comments on commit 8ad4888

Please sign in to comment.