diff options
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")" |
