summaryrefslogtreecommitdiff
path: root/Makefile
blob: 52a8e098bd3f2b6c189103514ee50b7cedf53b46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

CC := arm-linux-gnueabi-gcc

SOURCES = newmac.c

snowball-mactool: $(SOURCES)
	$(CC) -static $(SOURCES) -o $@

prefix := /usr/local

install:
	install -d $(DESTDIR)/$(prefix)/bin
	install -m 0775 snowball-mactool $(DESTDIR)/$(prefix)/bin

clean:
	rm -rf snowball-mactool