2023-11-23 15:00:24 +00:00
|
|
|
build-rpi:
|
|
|
|
cross build --target arm-unknown-linux-gnueabihf
|
2023-11-27 23:19:15 +00:00
|
|
|
|
2024-04-30 08:38:01 +00:00
|
|
|
emgauwa-core.json: core.pkl
|
2024-02-18 18:50:22 +00:00
|
|
|
pkl eval -f json -o $@ $<
|
2023-12-04 22:59:26 +00:00
|
|
|
|
2024-04-30 08:38:01 +00:00
|
|
|
config:
|
2024-03-04 15:09:03 +00:00
|
|
|
$(MAKE) emgauwa-core.json
|
2024-03-28 02:19:15 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f emgauwa-core.json
|
|
|
|
rm -f emgauwa-core.sqlite
|
2024-04-29 16:32:16 +00:00
|
|
|
|
|
|
|
emgauwa-core_%:
|
|
|
|
$(TOOL) build --target $* --release --bin emgauwa-core
|
|
|
|
mkdir -p out/releases
|
|
|
|
cp target/$*/release/emgauwa-core out/releases/emgauwa-core_$*
|
|
|
|
|
|
|
|
releases:
|
2024-04-30 08:38:01 +00:00
|
|
|
$(MAKE) TOOL=cross emgauwa-core_arm-unknown-linux-gnueabihf
|
|
|
|
$(MAKE) TOOL=cargo emgauwa-core_x86_64-unknown-linux-gnu
|
|
|
|
$(MAKE) TOOL=cross emgauwa-core_x86_64-unknown-linux-musl
|
2024-04-29 16:32:16 +00:00
|
|
|
|