summaryrefslogtreecommitdiff
path: root/Makefile
blob: bedd9eb54acbbc335ac4724e3547d824c8646db7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CROSS_COMPILE :=
CC := $(CROSS_COMPILE)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