ports/comms/unixcw/files/patch-src_cwgen_Makefile
Diane Bruce 13966ac24e The heart of the package is 'libcw'. This is a library which, when built,
offers the following basic CW services to a caller program:

  o Morse code character translation tables, and lookup functions
  o Morse code low-level timing calculations
  o A 'sidetone' generation and queueing system, using either the system sound
    card, the console speaker, or both
  o Optional keying control for an external device, say a transmitter, or an
    oscillator
  o CW character and string send routines, tied in with the character lookup
  o CW receive routines, also tied in to the character lookup
  o Adaptive speed tracking of received CW
  o An iambic keyer, with both Curtis 8044 types A and B timing
  o Straight key emulation

Submitted by:	self
2008-01-01 18:13:56 +00:00

21 lines
545 B
Text

--- src/cwgen/Makefile.orig 2006-07-14 22:54:09.000000000 -0400
+++ src/cwgen/Makefile 2007-12-25 17:22:39.000000000 -0500
@@ -19,7 +19,8 @@
include ../../Makefile.inc
CC = $(AC_CC)
-CFLAGS = $(AC_CFLAGS) $(AC_DEFS) -I../cwutils
+CFLAGS = $(AC_CFLAGS) $(AC_DEFS) -I../cwutils -I${includedir}
+LDFLAGS= $(AC_LIBS)
GZIP = $(AC_GZIP)
SHELL = /bin/sh
@@ -33,7 +34,7 @@
cwgen: cwgen.o
$(CC) -o $@ cwgen.o ../cwutils/i18n.o ../cwutils/cmdline.o \
- ../cwutils/memory.o
+ ../cwutils/memory.o $(LDFLAGS)
# Install targets.
install: all