summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/mar/Makefile
blob: 6f87681f79fa409d93bd07ea61b55b296b212394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: mar

clean:
	rm -f *.o mar

FLAGS = -Wall -Werror -Os -fomit-frame-pointer -c


mar: mar-frontend.o mar-extract-only.o
	gcc -o mar mar-frontend.o mar-extract-only.o -lz

mar-frontend.o: mar-frontend.c mar.h
	gcc $(FLAGS) mar-frontend.c

mar-extract-only.o: mar-extract-only.c mar-extract-only.h mar.h
	gcc $(FLAGS) mar-extract-only.c