18 lines
441 B
Makefile
18 lines
441 B
Makefile
# Makefile - hhl - /usr/src/world/usr.bin/hpk
|
|
# Copyright 2023 Nathan Fisher <nfisher.sr@gmail.com>
|
|
#
|
|
progname = hpk
|
|
bins += hpk
|
|
FEATURES = --all-features
|
|
INSTALL = $(tgt_dir)/$(rust_tgt)/release/bootstrap \
|
|
--target-dir=$(tgt_dir)/$(rust_tgt)/release $(build)/usr
|
|
include hhl.cargo.mk
|
|
export TARGET_CC = ${tgt}-gcc
|
|
|
|
srcs += Cargo.toml
|
|
srcs += Cargo.lock
|
|
srcs += $(shell find src -type f -name '*.rs')
|
|
|
|
$(cargo_out): $(srcs)
|
|
|