# Makefile for LinuxTaRT 2.20
# Generated by hand (Mark Veinot, 1999)

# Uncomment the following to statically link TaRT
#CFLAGS += -static

# Uncomment the following line to turn off ANSI color
#CFLAGS += -DNOCOLOR

CFLAGS += -Wall -pedantic -O3
CC = gcc
OBJECTS = main.o ../tartutil.o ../stringutil.o

.PHONY: all clean install

all: 	tartrc

tartrc:	$(OBJECTS)
	$(CC) $(CFLAGS) -o TaRTrcConvert $(OBJECTS)

clean:
	rm -f $(OBJECTS) TaRTrcConvert

install:
	install -m 0755 -s TaRTrcConvert /usr/local/bin/TaRTrcConvert
