ad1fead2b5
Picocom is a minimal dumb-terminal emulation program. Picocom was designed to serve as a simple, manual, modem configuration, testing, and debugging tool. It has also served (quite well) as a low-tech "terminal-window" to allow operator intervention in PPP connection scripts (something like the ms-windows "open terminal window before / after dialing" feature). It could also prove useful in many other similar tasks. From Kyle Isom (thank you!), with tweaks by me and giovanni@. help/ok sthen@ giovanni@, procedures ok henning@
27 lines
642 B
Plaintext
27 lines
642 B
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2012/07/08 18:19:18 lteo Exp $
|
|
--- Makefile.orig Sat May 29 00:39:52 2010
|
|
+++ Makefile Sun Jul 8 15:45:36 2012
|
|
@@ -1,17 +1,13 @@
|
|
-
|
|
+OBJS := picocom.o term.o
|
|
VERSION=1.6
|
|
|
|
# CC = gcc
|
|
-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\" \
|
|
- -DHIGH_BAUD
|
|
-CFLAGS = -Wall -g
|
|
+CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/spool/lock\"
|
|
|
|
-# LD = gcc
|
|
-LDFLAGS = -g
|
|
-LDLIBS =
|
|
+all : picocom
|
|
|
|
-picocom : picocom.o term.o
|
|
-# $(LD) $(LDFLAGS) -o $@ $+ $(LDLIBS)
|
|
+picocom : $(OBJS)
|
|
+ $(CC) $(LDFLAGS) -o picocom $(OBJS)
|
|
|
|
picocom.o : picocom.c term.h
|
|
term.o : term.c term.h
|