fxsdk: fix the source selection wildcard

Turns out make doesn't have /**/. Whatever.
This commit is contained in:
Lephe 2019-07-21 13:22:27 -04:00
parent c11003eead
commit d022755c2a

View file

@ -38,9 +38,9 @@ target-fx := $(filename).g1a
target-cg := $(filename).g3a target-cg := $(filename).g3a
# Source files # Source files
src := $(wildcard src/**/*.c) src := $(shell find src -name '*.c')
assets-fx := $(wildcard assets-fx/**/*) assets-fx := $(shell find assets-fx/*/)
assets-cg := $(wildcard assets-cg/**/*) assets-cg := $(shell find assets-cg/*/)
# Object files # Object files
obj-fx := $(src:%.c=build-fx/%.o) $(assets-fx:assets-fx/%=build-fx/assets/%.o) obj-fx := $(src:%.c=build-fx/%.o) $(assets-fx:assets-fx/%=build-fx/assets/%.o)