summaryrefslogtreecommitdiff
path: root/Makefile
blob: 1ddf091ab38e9c81cf46a5eda5e7517246e446a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
TARGET = zup
PREFIX = /usr

$(TARGET) : upload.c
	gcc -o $@ $<

all : $(TARGET)

.PHONY : install
install :
	mkdir -p $(PREFIX)/bin
	install $(TARGET) $(PREFIX)/bin/$(TARGET)

.PHONY : clean
clean :
	rm $(TARGET)