summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files changed, 18 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 92f2b98..54c7e1a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,29 +1,36 @@
#
-# IRBOX, an Ivy driver for infra-red remote controls
+# IRBOX, an Ivy driver for infra-red remote controls
#
-# Copyright 1998-1999
-# Centre d'Etudes de la Navigation Aerienne
+# Copyright 1998-1999
+# Centre d'Etudes de la Navigation Aerienne
#
-# Makefile
+# Makefile
#
-# $Id$
+# Authors: Stephane Chatty <chatty@cenatoulouse.dgac.fr>
+#
+# $Id$
+#
+# Please refer to file version.h for the
+# copyright notice regarding this software
#
SHELL = /bin/sh
CC = gcc
-SRCS = irdev.c irtable.c irman.c
-OBJS = irdev.o irtable.o lex.yy.o y.tab.o irman.o
+SRCS = irdev.c irtable.c irbox.c
+OBJS = irdev.o irtable.o lex.yy.o y.tab.o irbox.o
CDEFS =
COPTS = -g -Wall
-CINCS =
+CINCS = -I../../../libraries/ivy-c/src
+CLIBS = -I../../../libraries/ivy-c/src
CFLAGS = $(CDEBUGFLAGS) $(CDEFS) $(COPTS) $(CINCS)
+LDFLAGS = $(COPTS) $(CLIBS)
-all: irman
+all: irbox
-irman: $(OBJS)
- $(CC) $(CFLAGS) -o irbox $(OBJS) -L../IVY_C/src -livy
+irbox: $(OBJS)
+ $(CC) $(LDFLAGS) -o irbox $(OBJS) -livy
irdev.o: irdev.h