From adeba195f68c9b0092c6fb4da356e57ba731da88 Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Sat, 3 Jan 2015 23:00:47 +0100 Subject: [PATCH] merged makefiles --- Makefile | 4 ++-- irmc.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0b7e124..b283cd5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ SRC = irmc.c OBJ = ${SRC:.c=.o} -LDFLAGS = -L/usr/local/lib -lm -lmorse -CFLAGS = -I/usr/local/include -Wall +LDFLAGS = -L/usr/local/lib -L/opt/local/lib -lm -lmorse +CFLAGS = -I/usr/local/include -I/opt/local/include -Wall INSTALLDIR = ${HOME}/bin all: options irmc diff --git a/irmc.c b/irmc.c index 1c8c3dd..cebd76a 100644 --- a/irmc.c +++ b/irmc.c @@ -89,7 +89,6 @@ long tx_timer = 0; #define TX_TIMEOUT 240.0 #define KEEPALIVE_CYCLE 100 -char soundcard[] = "/dev/audio"; long key_press_t1; long key_release_t1; int last_message = 0;