blob: b125bdbb7e313985cb6b56c40ba10da9a9439d9b [file] [log] [blame]
developere5e687d2023-08-08 16:05:33 +08001# SPDX-License-Identifier: GPL-2.0-or-later */
2#
3# Copyright (c) 2023 MediaTek Inc. All Rights Reserved.
4#
5# Author: Alvin Kuo <Alvin.Kuo@mediatek.com>
6#
7
8PROJECT := tops-tool
9OBJECTS := tops-tool.o dump.o
10
11all: $(PROJECT)
12
13$(PROJECT): $(OBJECTS) Makefile
14 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
15
16%.o: %.c %.h Makefile
17 $(CC) $(CFLAGS) -c $< -o $@
18
19.PHONY : clean
20clean:
21 rm -f $(PROJECT) *.o