# 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