diff options
author | jacomi | 1999-01-25 18:35:13 +0000 |
---|---|---|
committer | jacomi | 1999-01-25 18:35:13 +0000 |
commit | ca51f6abf6debc1b6718f59129886fea04ee12b0 (patch) | |
tree | b074cbd71c73bfa0d39a28f73e19cd8d28a653f6 /src/Makefile | |
parent | f63e7d593f9a1ca8152ec8180ac052e75c892a60 (diff) | |
download | irbox-ca51f6abf6debc1b6718f59129886fea04ee12b0.zip irbox-ca51f6abf6debc1b6718f59129886fea04ee12b0.tar.gz irbox-ca51f6abf6debc1b6718f59129886fea04ee12b0.tar.bz2 irbox-ca51f6abf6debc1b6718f59129886fea04ee12b0.tar.xz |
new directory structure and data
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..54c7e1a --- /dev/null +++ b/src/Makefile @@ -0,0 +1,48 @@ +# +# IRBOX, an Ivy driver for infra-red remote controls +# +# Copyright 1998-1999 +# Centre d'Etudes de la Navigation Aerienne +# +# Makefile +# +# 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 irbox.c +OBJS = irdev.o irtable.o lex.yy.o y.tab.o irbox.o + +CDEFS = +COPTS = -g -Wall +CINCS = -I../../../libraries/ivy-c/src +CLIBS = -I../../../libraries/ivy-c/src +CFLAGS = $(CDEBUGFLAGS) $(CDEFS) $(COPTS) $(CINCS) +LDFLAGS = $(COPTS) $(CLIBS) + +all: irbox + +irbox: $(OBJS) + $(CC) $(LDFLAGS) -o irbox $(OBJS) -livy + +irdev.o: irdev.h + +irbox.o: irdev.h + +y.tab.h y.tab.c: gram.y + yacc -d gram.y + +lex.yy.c: gram.l + lex gram.l + +lex.yy.o: lex.yy.c y.tab.h + +clean: + -/bin/rm -f *.a *.o *.out *.bak *.yy.* *.tab.* *.log irbox |