#!/usr/bin/make
CC=gcc
CFLAGS=-O2 -g -Wall -pedantic

all : dumpftree ftree tree
	
dumpftree : dumpftree.c ftree.c ftree.h
	$(CC) $(CFLAGS) -o dumpftree dumpftree.c ftree.c

ftree : main.c ftree.c ftree.h
	$(CC) $(CFLAGS) -o ftree main.c ftree.c

tree : main2.c tree.c tree.h
	$(CC) $(CFLAGS) -DTREE_VALUETYPE=int -o tree main2.c tree.c

