1 2VERSION=1.4 3 4# CC = gcc 5CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\" 6CFLAGS = -Wall -g 7 8# LD = gcc 9LDFLAGS = -g 10LDLIBS = 11 12picocom : picocom.o term.o 13 $(LD) $(LDFLAGS) -o $@ $+ $(LDLIBS) 14 15picocom.o : picocom.c term.h 16 $(CC) $(CFLAGS) $(CPPFLAGS) -c picocom.c 17 18term.o : term.c term.h 19 $(CC) $(CFLAGS) $(CPPFLAGS) -c term.c 20clean: 21 rm -f picocom.o term.o 22 rm -f *~ 23 rm -f \#*\# 24 rm -f picocom 25 26