Martin Roth | adaab4a | 2022-10-28 22:38:44 -0600 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Reka Norman | 0e79274 | 2021-09-08 18:50:58 +1000 | [diff] [blame] | 2 | SPD_GEN = bin/spd_gen |
Reka Norman | b05edb1 | 2021-09-09 14:49:55 +1000 | [diff] [blame] | 3 | PART_ID_GEN = bin/part_id_gen |
Reka Norman | 0e79274 | 2021-09-08 18:50:58 +1000 | [diff] [blame] | 4 | |
Reka Norman | b05edb1 | 2021-09-09 14:49:55 +1000 | [diff] [blame] | 5 | all: $(SPD_GEN) $(PART_ID_GEN) |
Reka Norman | 0e79274 | 2021-09-08 18:50:58 +1000 | [diff] [blame] | 6 | |
Caveh Jalali | 7dd42da | 2022-08-31 17:16:55 -0700 | [diff] [blame] | 7 | $(SPD_GEN): src/spd_gen/*.go |
8 | go build -o $@ $^ | ||||
Reka Norman | 0e79274 | 2021-09-08 18:50:58 +1000 | [diff] [blame] | 9 | |
Caveh Jalali | 7dd42da | 2022-08-31 17:16:55 -0700 | [diff] [blame] | 10 | $(PART_ID_GEN): src/part_id_gen/*.go |
11 | go build -o $@ $^ | ||||
Reka Norman | b05edb1 | 2021-09-09 14:49:55 +1000 | [diff] [blame] | 12 | |
Reka Norman | 0e79274 | 2021-09-08 18:50:58 +1000 | [diff] [blame] | 13 | clean: |
14 | rm -rf bin/ | ||||
15 | |||||
16 | .PHONY: all |