top_srcdir := @top_srcdir@
srcdir = @srcdir@
topdir = ../..
-subdir := tv
+subdir := ir/tv
+INSTALL_HEADERS = tv.h
-SOURCES := Makefile.in ieee754.h tv.c tv.h tv_t.h
+SOURCES = $(INSTALL_HEADERS)
-INSTALL_HEADERS = $(filter %.h,$(SOURCES))
+SOURCES += Makefile.in tv.c tv_t.h strcalc.c strcalc.h fltcalc.c fltcalc.h
include $(topdir)/MakeRules
CPPFLAGS += -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/tr -I$(top_srcdir)/ir/adt \
- -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/ir
+ -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/debug \
+ -I$(top_srcdir)/ir/st -I$(top_srcdir)/ir/ana \
+
+tv.o: tv.h tv.c fltcalc.h fltcalc.c strcalc.h strcalc.c
+
+fltcalc.o: fltcalc.h fltcalc.c strcalc.h strcalc.c
+
+strcalc.o: strcalc.h strcalc.c
include $(top_srcdir)/MakeTargets