OpenCloudOS-Kernel/tools/firmware/Makefile

13 lines
180 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Makefile for firmware tools
CFLAGS = -Wall -Wextra -g
all: ihex2fw
%: %.c
$(CC) $(CFLAGS) -o $@ $^
clean:
$(RM) ihex2fw
.PHONY: all clean