premier commit (version 105)
[ipphone-tools.git] / Makefile
1 CPPFLAGS += -Wall
2 LDFLAGS += -s
3
4 PROGS = ipphone5-report ipphone5-message ipphone5-upload ipphone5-debug ipphone5-download ipphone5-phonebook
5 ALLPROGS = $(PROGS) ipphone5-upgrade ipphone5-auto-upgrade
6
7 all: $(PROGS)
8
9 install: install-bin
10
11 clean:
12 rm -f *.o *~
13 rm -f $(PROGS)
14
15 dist:
16 tar czf ../ipphone-tools.tar.gz Makefile *.c debian
17
18 install-bin: $(PROGS)
19 install -o root -g root -m 0755 -d $(DESTDIR)/usr/bin/
20 install -o root -g root -m 0755 $(ALLPROGS) $(DESTDIR)/usr/bin/
21