summaryrefslogtreecommitdiff
path: root/tools/Makefile
blob: 65ff73f68aeaf1d5b23f4785f0a586c8157a5f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = gcc
LD = gcc
CPPFLAGS = -O3

TARGETS = mkromfs
MKROMFS_SRCS = mkromfs.c
MKROMFS_OBJS = $(addsuffix .o, $(basename $(MKROMFS_SRCS)))

all: $(TARGETS)

mkromfs: $(MKROMFS_OBJS)
	$(LD) -o mkromfs $(MKROMFS_OBJS)

clean:
	rm -rf $(MKROMFS_OBJS) $(TARGETS)