linux-sg2042/tools/firmware/Makefile

14 lines
181 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