aboutsummaryrefslogtreecommitdiff
path: root/tap/readline/Makefile
blob: a83987c9759cd9e45279022d8cf5e6dec73d102e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# makefile for the Readline module of Tap.
# Copyright (C) 1999 Jonathan duSaint
#
# This file is part of Tap, an interactive program for reading and
# writing data to the serial port to facilitate the reverse
# engineering of communication protocols.
#
# Tap is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# Tap is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
# License for more details.
#
# The GNU General Public License is generally kept in a file called
# COPYING or LICENSE.  If you do not have a copy of the license, write
# to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.


CC = gcc
CFLAGS = -Wall -g -O2 -I..

SRCFILES = history.c line.c ring.c tab.c text.c
OBJFILES = $(SRCFILES:%.c=%.o)
INCLUDEFILES = readline.h

.PHONY : all clean

all : readline.o

readline.o : $(OBJFILES) $(INCLUDEFILES)
	ld -r -o readline.o $(OBJFILES)

clean :
	rm -f readline.o $(OBJFILES) *~ core