openbsd-ports/comms/picocom/patches/patch-Makefile

27 lines
642 B
Plaintext
Raw Normal View History

$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