###############################################################################
# BRLTTY - A background process providing access to the Linux console (when in
#          text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2003 by The BRLTTY Team. All rights reserved.
#
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU General Public License, as published by the Free Software
# Foundation.  Please see the file COPYING for details.
#
# Web Page: http://mielke.cc/brltty/
#
# This software is maintained by Dave Mielke <dave@mielke.cc>.
###############################################################################

include $(BLD_TOP)config.mk

PROGRAMS = trcp
all: $(PROGRAMS)

TRCP_OBJECTS = trcp.o unicode.o $(BLD_TOP)$(PGM_DIR)/options.o $(BLD_TOP)$(PGM_DIR)/misc.o
trcp: $(TRCP_OBJECTS)
	$(CC) $(LDFLAGS) -o $@ $(TRCP_OBJECTS) $(LDLIBS)
trcp.o:
	$(CC) $(CFLAGS) -c $(SRC_DIR)/trcp.c
unicode.o:
	$(CC) $(CFLAGS) -c $(SRC_DIR)/unicode.c

clean::
	rm -f $(PROGRAMS)

