-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
49 lines (35 loc) · 825 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
VERSION=1.8
UUCP_LOCK_DIR=/var/lock
# CC = gcc
CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" \
-DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\" \
-DHIGH_BAUD
CFLAGS = -Wall -g
# LD = gcc
LDFLAGS = -g
LDLIBS =
picocom : picocom.o term.o linenoise.o
# $(LD) $(LDFLAGS) -o $@ $+ $(LDLIBS)
picocom.o : picocom.c term.h linenoise.h
term.o : term.c term.h
linenoise.o : linenoise.c linenoise.h
doc : picocom.8 picocom.8.html picocom.8.ps
changes :
svn log -v . > CHANGES
picocom.8 : picocom.8.xml
xmlmp2man < $< > $@
picocom.8.html : picocom.8.xml
xmlmp2html < $< > $@
picocom.8.ps : picocom.8
groff -mandoc -Tps $< > $@
clean:
rm -f picocom.o term.o linenoise.o
rm -f *~
rm -f \#*\#
distclean: clean
rm -f picocom
realclean: distclean
rm -f picocom.8
rm -f picocom.8.html
rm -f picocom.8.ps
rm -f CHANGES