summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorchatty1999-01-25 17:48:34 +0000
committerchatty1999-01-25 17:48:34 +0000
commitfb242b482a81baa20d5cb4b8a563880b16aebdee (patch)
tree4e409fb3a59dc7b5f70b1d4b30104f075c89dcb5 /Makefile
parent4a74019ccbd44626eb96fe751f406ff3fbe30735 (diff)
downloadirbox-fb242b482a81baa20d5cb4b8a563880b16aebdee.zip
irbox-fb242b482a81baa20d5cb4b8a563880b16aebdee.tar.gz
irbox-fb242b482a81baa20d5cb4b8a563880b16aebdee.tar.bz2
irbox-fb242b482a81baa20d5cb4b8a563880b16aebdee.tar.xz
Prepared for version 1.0:
- headers updated - renamed irman.c into irbox.c - added options at launch - added functions to read tables from a directory and its index - created a utility for creating tables - created files for launch at boot time
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