2023-04-04 12:24:10 -04:00
|
|
|
unexport CXXFLAGS
|
|
|
|
unexport CFLAGS
|
|
|
|
unexport CPPFLAGS
|
|
|
|
unexport LDFLAGS
|
|
|
|
|
2023-04-18 15:47:57 -04:00
|
|
|
# TODO: Number of processors
|
2023-04-04 12:24:10 -04:00
|
|
|
build/zephyr/zephyr.bin: build/Makefile
|
|
|
|
cd build && make -j7
|
2023-04-18 15:47:57 -04:00
|
|
|
build/Makefile: ../creole/creole.c src/*.c ../firmware/overlay.dts ../firmware/pin_io.c prj.conf CMakeLists.txt
|
2022-07-13 13:56:51 -04:00
|
|
|
mkdir -p build
|
2023-04-04 12:24:10 -04:00
|
|
|
cd build && cmake ..
|
2022-07-13 13:56:51 -04:00
|
|
|
clean:
|
|
|
|
rm -rf build
|