From 9cec970bdbaabc3491f34e67198697173901f559 Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Thu, 14 May 2026 19:48:05 -0400 Subject: move `platform` -> `teensy/platform` --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 5771b24..3ab36a8 100755 --- a/build.sh +++ b/build.sh @@ -28,7 +28,7 @@ fi [ ! -z "$debug" ] && cflags+=(-g -ggdb -rdynamic) -teensy_cflags=(${cflags[@]} -fPIC -Iteensy -Iplatform/$platform) +teensy_cflags=(${cflags[@]} -fPIC -Iteensy -Iteensy/platform/$platform) [ ! -z "$debug" ] && teensy_cflags+=(-DTEENSY_DEBUG) teensy_ldflags=(${ldflags[@]}) @@ -46,8 +46,8 @@ dc_cflags=(${cflags[@]} -Iteensy -Idc) dc_ldflags=(${ldflags[@]} -L. -lteensy) dc_src=$(find dc -name '*.c') -teensy_src=$(find teensy -name '*.c') -platform_src=$(find platform/$platform -name '*.c') +teensy_src=$(find teensy -name '*.c' -not -path '*platform*') +platform_src=$(find teensy/platform/$platform -name '*.c') echo -e "dc:\t\t$(tr '\n' ' ' <<< "$dc_src")" echo -e "teensy:\t\t$(tr '\n' ' ' <<< "$teensy_src")" -- cgit v1.3-2-g0d8e