diff options
| author | iamcheeseman <[email protected]> | 2026-05-14 19:48:05 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-14 19:48:05 -0400 |
| commit | 9cec970bdbaabc3491f34e67198697173901f559 (patch) | |
| tree | dcfd71d3f6b3889e51bcab577c114fb8d003fb75 /build.sh | |
| parent | f2928487a77863714e75edc0cfd2cf2ac701ea9c (diff) | |
move `platform` -> `teensy/platform`
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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")" |
