CFLAGS= -O
MYSQLI=/usr/include/mysql
MYSQLL=/usr/lib64/mysql

DGLFILES=ts1701.dgl ts1702.dgl ts1703.dgl ts1704.dgl ts1705.dgl ts1706.dgl ts1707.dgl ts1708.dgl ts1709.dgl ts1710.dgl \
	ts1711.dgl ts1712.dgl ts1713.dgl ts1714.dgl ts1715.dgl ts1716.dgl ts1717.dgl ts1718.dgl ts1719.dgl ts1720.dgl \
	ts1721.dgl ts1722.dgl ts1723.dgl ts1724.dgl ts1725.dgl ts1726.dgl ts1727.dgl ts1728.dgl ts1729.dgl ts1730.dgl \
	ts1731.dgl ts1732.dgl ts1733.dgl ts1734.dgl ts1735.dgl ts1736.dgl ts1737.dgl ts1738.dgl ts1739.dgl ts1740.dgl \
	ts1741.dgl ts1742.dgl ts1743.dgl ts1744.dgl ts1745.dgl ts1746.dgl ts1747.dgl ts1748.dgl ts1749.dgl ts1750.dgl \
	ts1751.dgl ts1752.dgl ts1753.dgl ts1754.dgl ts1755.dgl ts1756.dgl ts1757.dgl ts1758.dgl ts1759.dgl ts1760.dgl \
	ts1761.dgl ts1762.dgl ts1763.dgl ts1764.dgl ts1765.dgl ts1766.dgl ts1767.dgl ts1768.dgl ts1769.dgl ts1770.dgl \
	ts1771.dgl ts1772.dgl ts1773.dgl ts1774.dgl ts1775.dgl ts1776.dgl ts1777.dgl ts1778.dgl ts1779.dgl ts1780.dgl \
	ts1781.dgl ts1782.dgl ts1783.dgl ts1784.dgl ts1785.dgl ts1786.dgl ts1787.dgl ts1788.dgl ts1789.dgl ts1790.dgl \
	ts1791.dgl ts1792.dgl ts1793.dgl ts1794.dgl ts1795.dgl ts1796.dgl ts1797.dgl ts1798.dgl ts1799.dgl ts1800.dgl

CFILES= ts1701.cpp ts1702.cpp ts1703.cpp ts1704.cpp ts1705.cpp ts1706.cpp ts1707.cpp ts1708.cpp ts1709.cpp ts1710.cpp \
	ts1711.cpp ts1712.cpp ts1713.cpp ts1714.cpp ts1715.cpp ts1716.cpp ts1717.cpp ts1718.cpp ts1719.cpp ts1720.cpp \
	ts1721.cpp ts1722.cpp ts1723.cpp ts1724.cpp ts1725.cpp ts1726.cpp ts1727.cpp ts1728.cpp ts1729.cpp ts1730.cpp \
	ts1731.cpp ts1732.cpp ts1733.cpp ts1734.cpp ts1735.cpp ts1736.cpp ts1737.cpp ts1738.cpp ts1739.cpp ts1740.cpp \
	ts1741.cpp ts1742.cpp ts1743.cpp ts1744.cpp ts1745.cpp ts1746.cpp ts1747.cpp ts1748.cpp ts1749.cpp ts1750.cpp \
	ts1751.cpp ts1752.cpp ts1753.cpp ts1754.cpp ts1755.cpp ts1756.cpp ts1757.cpp ts1758.cpp ts1759.cpp ts1760.cpp \
	ts1761.cpp ts1762.cpp ts1763.cpp ts1764.cpp ts1765.cpp ts1766.cpp ts1767.cpp ts1768.cpp ts1769.cpp ts1770.cpp \
	ts1771.cpp ts1772.cpp ts1773.cpp ts1774.cpp ts1775.cpp ts1776.cpp ts1777.cpp ts1778.cpp ts1779.cpp ts1780.cpp \
	ts1781.cpp ts1782.cpp ts1783.cpp ts1784.cpp ts1785.cpp ts1786.cpp ts1787.cpp ts1788.cpp ts1789.cpp ts1790.cpp \
	ts1791.cpp ts1792.cpp ts1793.cpp ts1794.cpp ts1795.cpp ts1796.cpp ts1797.cpp ts1798.cpp ts1799.cpp ts1800.cpp

RANDFILES=ts1701.rand ts1702.rand ts1703.rand ts1704.rand ts1705.rand ts1706.rand ts1707.rand ts1708.rand ts1709.rand ts1710.rand \
	ts1711.rand ts1712.rand ts1713.rand ts1714.rand ts1715.rand ts1716.rand ts1717.rand ts1718.rand ts1719.rand ts1720.rand \
	ts1721.rand ts1722.rand ts1723.rand ts1724.rand ts1725.rand ts1726.rand ts1727.rand ts1728.rand ts1729.rand ts1730.rand \
	ts1731.rand ts1732.rand ts1733.rand ts1734.rand ts1735.rand ts1736.rand ts1737.rand ts1738.rand ts1739.rand ts1740.rand \
	ts1741.rand ts1742.rand ts1743.rand ts1744.rand ts1745.rand ts1746.rand ts1747.rand ts1748.rand ts1749.rand ts1750.rand \
	ts1751.rand ts1752.rand ts1753.rand ts1754.rand ts1755.rand ts1756.rand ts1757.rand ts1758.rand ts1759.rand ts1760.rand \
	ts1761.rand ts1762.rand ts1763.rand ts1764.rand ts1765.rand ts1766.rand ts1767.rand ts1768.rand ts1769.rand ts1770.rand \
	ts1771.rand ts1772.rand ts1773.rand ts1774.rand ts1775.rand ts1776.rand ts1777.rand ts1778.rand ts1779.rand ts1780.rand \
	ts1781.rand ts1782.rand ts1783.rand ts1784.rand ts1785.rand ts1786.rand ts1787.rand ts1788.rand ts1789.rand ts1790.rand \
	ts1791.rand ts1792.rand ts1793.rand ts1794.rand ts1795.rand ts1796.rand ts1797.rand ts1798.rand ts1799.rand ts1800.rand

EXFILES=ts1701 ts1702 ts1703 ts1704 ts1705 ts1706 ts1707 ts1708 ts1709 ts1710 \
	ts1711 ts1712 ts1713 ts1714 ts1715 ts1716 ts1717 ts1718 ts1719 ts1720 \
	ts1721 ts1722 ts1723 ts1724 ts1725 ts1726 ts1727 ts1728 ts1729 ts1730 \
	ts1731 ts1732 ts1733 ts1734 ts1735 ts1736 ts1737 ts1738 ts1739 ts1740 \
	ts1741 ts1742 ts1743 ts1744 ts1745 ts1746 ts1747 ts1748 ts1749 ts1750 \
	ts1751 ts1752 ts1753 ts1754 ts1755 ts1756 ts1757 ts1758 ts1759 ts1760 \
	ts1761 ts1762 ts1763 ts1764 ts1765 ts1766 ts1767 ts1768 ts1769 ts1770 \
	ts1771 ts1772 ts1773 ts1774 ts1775 ts1776 ts1777 ts1778 ts1779 ts1780 \
	ts1781 ts1782 ts1783 ts1784 ts1785 ts1786 ts1787 ts1788 ts1789 ts1790 \
	ts1791 ts1792 ts1793 ts1794 ts1795 ts1796 ts1797 ts1798 ts1799 ts1800

OUTFILES=ts1701.out ts1702.out ts1703.out ts1704.out ts1705.out ts1706.out ts1707.out ts1708.out ts1709.out ts1710.out \
	ts1711.out ts1712.out ts1713.out ts1714.out ts1715.out ts1716.out ts1717.out ts1718.out ts1719.out ts1720.out \
	ts1721.out ts1722.out ts1723.out ts1724.out ts1725.out ts1726.out ts1727.out ts1728.out ts1729.out ts1730.out \
	ts1731.out ts1732.out ts1733.out ts1734.out ts1735.out ts1736.out ts1737.out ts1738.out ts1739.out ts1740.out \
	ts1741.out ts1742.out ts1743.out ts1744.out ts1745.out ts1746.out ts1747.out ts1748.out ts1749.out ts1750.out \
	ts1751.out ts1752.out ts1753.out ts1754.out ts1755.out ts1756.out ts1757.out ts1758.out ts1759.out ts1760.out \
	ts1761.out ts1762.out ts1763.out ts1764.out ts1765.out ts1766.out ts1767.out ts1768.out ts1769.out ts1770.out \
	ts1771.out ts1772.out ts1773.out ts1774.out ts1775.out ts1776.out ts1777.out ts1778.out ts1779.out ts1780.out \
	ts1781.out ts1782.out ts1783.out ts1784.out ts1785.out ts1786.out ts1787.out ts1788.out ts1789.out ts1790.out \
	ts1791.out ts1792.out ts1793.out ts1794.out ts1795.out ts1796.out ts1797.out ts1798.out ts1799.out ts1800.out

all: $(EXFILES)

all.out: $(OUTFILES)
	touch all.out

ts1701: ts1701.dgl
	dgl -e <ts1701.dgl >ts1701.cpp
	g++ $(CFLAGS) ts1701.cpp -o ts1701

ts1701.out: ts1701
	ts1701 >ts1701.out


ts1702: ts1702.dgl
	dgl -e <ts1702.dgl >ts1702.cpp
	g++ $(CFLAGS) ts1702.cpp -o ts1702

ts1702.out: ts1702
	ts1702 >ts1702.out


ts1703: ts1703.dgl
	dgl -e <ts1703.dgl >ts1703.cpp
	g++ $(CFLAGS) ts1703.cpp -o ts1703

ts1703.out: ts1703
	ts1703 >ts1703.out


ts1704: ts1704.dgl
	dgl -e <ts1704.dgl >ts1704.cpp
	g++ $(CFLAGS) ts1704.cpp -o ts1704

ts1704.out: ts1704
	ts1704 >ts1704.out


ts1705: ts1705.dgl
	dgl -e <ts1705.dgl >ts1705.cpp
	g++ $(CFLAGS) ts1705.cpp -o ts1705

ts1705.out: ts1705
	ts1705 >ts1705.out


ts1706: ts1706.dgl
	dgl -e <ts1706.dgl >ts1706.cpp
	g++ $(CFLAGS) ts1706.cpp -o ts1706

ts1706.out: ts1706
	ts1706 >ts1706.out


ts1707: ts1707.dgl
	dgl -e <ts1707.dgl >ts1707.cpp
	g++ $(CFLAGS) ts1707.cpp -o ts1707

ts1707.out: ts1707
	ts1707 >ts1707.out


ts1708: ts1708.dgl
	dgl -e <ts1708.dgl >ts1708.cpp
	g++ $(CFLAGS) ts1708.cpp -o ts1708

ts1708.out: ts1708
	ts1708 >ts1708.out


ts1709: ts1709.dgl
	dgl -e <ts1709.dgl >ts1709.cpp
	g++ $(CFLAGS) ts1709.cpp -o ts1709

ts1709.out: ts1709
	ts1709 >ts1709.out


ts1710: ts1710.dgl
	dgl -e <ts1710.dgl >ts1710.cpp
	g++ $(CFLAGS) ts1710.cpp -o ts1710

ts1710.out: ts1710
	ts1710 >ts1710.out


ts1711: ts1711.dgl
	dgl -e <ts1711.dgl >ts1711.cpp
	g++ $(CFLAGS) ts1711.cpp -o ts1711

ts1711.out: ts1711
	ts1711 >ts1711.out


ts1712: ts1712.dgl
	dgl -e <ts1712.dgl >ts1712.cpp
	g++ $(CFLAGS) ts1712.cpp -o ts1712

ts1712.out: ts1712
	ts1712 >ts1712.out


ts1713: ts1713.dgl
	dgl -e <ts1713.dgl >ts1713.cpp
	g++ $(CFLAGS) ts1713.cpp -o ts1713

ts1713.out: ts1713
	ts1713 >ts1713.out


ts1714: ts1714.dgl
	dgl -e <ts1714.dgl >ts1714.cpp
	g++ $(CFLAGS) ts1714.cpp -o ts1714

ts1714.out: ts1714
	ts1714 >ts1714.out


ts1715: ts1715.dgl
	dgl -e <ts1715.dgl >ts1715.cpp
	g++ $(CFLAGS) ts1715.cpp -o ts1715

ts1715.out: ts1715
	ts1715 >ts1715.out


ts1716: ts1716.dgl
	dgl -e <ts1716.dgl >ts1716.cpp
	g++ $(CFLAGS) ts1716.cpp -o ts1716

ts1716.out: ts1716
	ts1716 >ts1716.out


ts1717: ts1717.dgl
	dgl -e <ts1717.dgl >ts1717.cpp
	g++ $(CFLAGS) ts1717.cpp -o ts1717

ts1717.out: ts1717
	ts1717 >ts1717.out


ts1718: ts1718.dgl
	dgl -e <ts1718.dgl >ts1718.cpp
	g++ $(CFLAGS) ts1718.cpp -o ts1718

ts1718.out: ts1718
	ts1718 >ts1718.out


ts1719: ts1719.dgl
	dgl -e <ts1719.dgl >ts1719.cpp
	g++ $(CFLAGS) ts1719.cpp -o ts1719

ts1719.out: ts1719
	ts1719 >ts1719.out


ts1720: ts1720.dgl
	dgl -e <ts1720.dgl >ts1720.cpp
	g++ $(CFLAGS) ts1720.cpp -o ts1720

ts1720.out: ts1720
	ts1720 >ts1720.out


ts1721: ts1721.dgl
	dgl -e <ts1721.dgl >ts1721.cpp
	g++ $(CFLAGS) ts1721.cpp -o ts1721

ts1721.out: ts1721
	ts1721 >ts1721.out


ts1722: ts1722.dgl
	dgl -e <ts1722.dgl >ts1722.cpp
	g++ $(CFLAGS) ts1722.cpp -o ts1722

ts1722.out: ts1722
	ts1722 >ts1722.out


ts1723: ts1723.dgl
	dgl -e <ts1723.dgl >ts1723.cpp
	g++ $(CFLAGS) ts1723.cpp -o ts1723

ts1723.out: ts1723
	ts1723 >ts1723.out


ts1724: ts1724.dgl
	dgl -e <ts1724.dgl >ts1724.cpp
	g++ $(CFLAGS) ts1724.cpp -o ts1724

ts1724.out: ts1724
	ts1724 >ts1724.out


ts1725: ts1725.dgl
	dgl -e <ts1725.dgl >ts1725.cpp
	g++ $(CFLAGS) ts1725.cpp -o ts1725

ts1725.out: ts1725
	ts1725 >ts1725.out


ts1726: ts1726.dgl
	dgl -e <ts1726.dgl >ts1726.cpp
	g++ $(CFLAGS) ts1726.cpp -o ts1726

ts1726.out: ts1726
	ts1726 >ts1726.out


ts1727: ts1727.dgl
	dgl -e <ts1727.dgl >ts1727.cpp
	g++ $(CFLAGS) ts1727.cpp -o ts1727

ts1727.out: ts1727
	ts1727 >ts1727.out


ts1728: ts1728.dgl
	dgl -e <ts1728.dgl >ts1728.cpp
	g++ $(CFLAGS) ts1728.cpp -o ts1728

ts1728.out: ts1728
	ts1728 >ts1728.out


ts1729: ts1729.dgl
	dgl -e <ts1729.dgl >ts1729.cpp
	g++ $(CFLAGS) ts1729.cpp -o ts1729

ts1729.out: ts1729
	ts1729 >ts1729.out


ts1730: ts1730.dgl
	dgl -e <ts1730.dgl >ts1730.cpp
	g++ $(CFLAGS) ts1730.cpp -o ts1730

ts1730.out: ts1730
	ts1730 >ts1730.out


ts1731: ts1731.dgl
	dgl -e <ts1731.dgl >ts1731.cpp
	g++ $(CFLAGS) ts1731.cpp -o ts1731

ts1731.out: ts1731
	ts1731 >ts1731.out


ts1732: ts1732.dgl
	dgl -e <ts1732.dgl >ts1732.cpp
	g++ $(CFLAGS) ts1732.cpp -o ts1732

ts1732.out: ts1732
	ts1732 >ts1732.out


ts1733: ts1733.dgl
	dgl -e <ts1733.dgl >ts1733.cpp
	g++ $(CFLAGS) ts1733.cpp -o ts1733

ts1733.out: ts1733
	ts1733 >ts1733.out


ts1734: ts1734.dgl
	dgl -e <ts1734.dgl >ts1734.cpp
	g++ $(CFLAGS) ts1734.cpp -o ts1734

ts1734.out: ts1734
	ts1734 >ts1734.out


ts1735: ts1735.dgl
	dgl -e <ts1735.dgl >ts1735.cpp
	g++ $(CFLAGS) ts1735.cpp -o ts1735

ts1735.out: ts1735
	ts1735 >ts1735.out


ts1736: ts1736.dgl
	dgl -e <ts1736.dgl >ts1736.cpp
	g++ $(CFLAGS) ts1736.cpp -o ts1736

ts1736.out: ts1736
	ts1736 >ts1736.out


ts1737: ts1737.dgl
	dgl -e <ts1737.dgl >ts1737.cpp
	g++ $(CFLAGS) ts1737.cpp -o ts1737

ts1737.out: ts1737
	ts1737 >ts1737.out


ts1738: ts1738.dgl
	dgl -e <ts1738.dgl >ts1738.cpp
	g++ $(CFLAGS) ts1738.cpp -o ts1738

ts1738.out: ts1738
	ts1738 >ts1738.out


ts1739: ts1739.dgl
	dgl -e <ts1739.dgl >ts1739.cpp
	g++ $(CFLAGS) ts1739.cpp -o ts1739

ts1739.out: ts1739
	ts1739 >ts1739.out


ts1740: ts1740.dgl
	dgl -e <ts1740.dgl >ts1740.cpp
	g++ $(CFLAGS) ts1740.cpp -o ts1740

ts1740.out: ts1740
	ts1740 >ts1740.out


ts1741: ts1741.dgl
	dgl -e <ts1741.dgl >ts1741.cpp
	g++ $(CFLAGS) ts1741.cpp -o ts1741

ts1741.out: ts1741
	ts1741 >ts1741.out


ts1742: ts1742.dgl
	dgl -e <ts1742.dgl >ts1742.cpp
	g++ $(CFLAGS) ts1742.cpp -o ts1742

ts1742.out: ts1742
	ts1742 >ts1742.out


ts1743: ts1743.dgl
	dgl -e <ts1743.dgl >ts1743.cpp
	g++ $(CFLAGS) ts1743.cpp -o ts1743

ts1743.out: ts1743
	ts1743 >ts1743.out


ts1744: ts1744.dgl
	dgl -e <ts1744.dgl >ts1744.cpp
	g++ $(CFLAGS) ts1744.cpp -o ts1744

ts1744.out: ts1744
	ts1744 >ts1744.out


ts1745: ts1745.dgl
	dgl -e <ts1745.dgl >ts1745.cpp
	g++ $(CFLAGS) ts1745.cpp -o ts1745

ts1745.out: ts1745
	ts1745 >ts1745.out


ts1746: ts1746.dgl
	dgl -e <ts1746.dgl >ts1746.cpp
	g++ $(CFLAGS) ts1746.cpp -o ts1746

ts1746.out: ts1746
	ts1746 >ts1746.out


ts1747: ts1747.dgl
	dgl -e <ts1747.dgl >ts1747.cpp
	g++ $(CFLAGS) ts1747.cpp -o ts1747

ts1747.out: ts1747
	ts1747 >ts1747.out


ts1748: ts1748.dgl
	dgl -e <ts1748.dgl >ts1748.cpp
	g++ $(CFLAGS) ts1748.cpp -o ts1748

ts1748.out: ts1748
	ts1748 >ts1748.out


ts1749: ts1749.dgl
	dgl -e <ts1749.dgl >ts1749.cpp
	g++ $(CFLAGS) ts1749.cpp -o ts1749

ts1749.out: ts1749
	ts1749 >ts1749.out


ts1750: ts1750.dgl
	dgl -e <ts1750.dgl >ts1750.cpp
	g++ $(CFLAGS) ts1750.cpp -o ts1750

ts1750.out: ts1750
	ts1750 >ts1750.out


ts1751: ts1751.dgl
	dgl -e <ts1751.dgl >ts1751.cpp
	g++ $(CFLAGS) ts1751.cpp -o ts1751

ts1751.out: ts1751
	ts1751 >ts1751.out


ts1752: ts1752.dgl
	dgl -e <ts1752.dgl >ts1752.cpp
	g++ $(CFLAGS) ts1752.cpp -o ts1752

ts1752.out: ts1752
	ts1752 >ts1752.out


ts1753: ts1753.dgl
	dgl -e <ts1753.dgl >ts1753.cpp
	g++ $(CFLAGS) ts1753.cpp -o ts1753

ts1753.out: ts1753
	ts1753 >ts1753.out


ts1754: ts1754.dgl
	dgl -e <ts1754.dgl >ts1754.cpp
	g++ $(CFLAGS) ts1754.cpp -o ts1754

ts1754.out: ts1754
	ts1754 >ts1754.out


ts1755: ts1755.dgl
	dgl -e <ts1755.dgl >ts1755.cpp
	g++ $(CFLAGS) ts1755.cpp -o ts1755

ts1755.out: ts1755
	ts1755 >ts1755.out


ts1756: ts1756.dgl
	dgl -e <ts1756.dgl >ts1756.cpp
	g++ $(CFLAGS) ts1756.cpp -o ts1756

ts1756.out: ts1756
	ts1756 >ts1756.out


ts1757: ts1757.dgl
	dgl -e <ts1757.dgl >ts1757.cpp
	g++ $(CFLAGS) ts1757.cpp -o ts1757

ts1757.out: ts1757
	ts1757 >ts1757.out


ts1758: ts1758.dgl
	dgl -e <ts1758.dgl >ts1758.cpp
	g++ $(CFLAGS) ts1758.cpp -o ts1758

ts1758.out: ts1758
	ts1758 >ts1758.out


ts1759: ts1759.dgl
	dgl -e <ts1759.dgl >ts1759.cpp
	g++ $(CFLAGS) ts1759.cpp -o ts1759

ts1759.out: ts1759
	ts1759 >ts1759.out


ts1760: ts1760.dgl
	dgl -e <ts1760.dgl >ts1760.cpp
	g++ $(CFLAGS) ts1760.cpp -o ts1760

ts1760.out: ts1760
	ts1760 >ts1760.out


ts1761: ts1761.dgl
	dgl -e <ts1761.dgl >ts1761.cpp
	g++ $(CFLAGS) ts1761.cpp -o ts1761

ts1761.out: ts1761
	ts1761 >ts1761.out


ts1762: ts1762.dgl
	dgl -e <ts1762.dgl >ts1762.cpp
	g++ $(CFLAGS) ts1762.cpp -o ts1762

ts1762.out: ts1762
	ts1762 >ts1762.out


ts1763: ts1763.dgl
	dgl -e <ts1763.dgl >ts1763.cpp
	g++ $(CFLAGS) ts1763.cpp -o ts1763

ts1763.out: ts1763
	ts1763 >ts1763.out


ts1764: ts1764.dgl
	dgl -e <ts1764.dgl >ts1764.cpp
	g++ $(CFLAGS) ts1764.cpp -o ts1764

ts1764.out: ts1764
	ts1764 >ts1764.out


ts1765: ts1765.dgl
	dgl -e <ts1765.dgl >ts1765.cpp
	g++ $(CFLAGS) ts1765.cpp -o ts1765

ts1765.out: ts1765
	ts1765 >ts1765.out


ts1766: ts1766.dgl
	dgl -e <ts1766.dgl >ts1766.cpp
	g++ $(CFLAGS) ts1766.cpp -o ts1766

ts1766.out: ts1766
	ts1766 >ts1766.out


ts1767: ts1767.dgl
	dgl -e <ts1767.dgl >ts1767.cpp
	g++ $(CFLAGS) ts1767.cpp -o ts1767

ts1767.out: ts1767
	ts1767 >ts1767.out


ts1768: ts1768.dgl
	dgl -e <ts1768.dgl >ts1768.cpp
	g++ $(CFLAGS) ts1768.cpp -o ts1768

ts1768.out: ts1768
	ts1768 >ts1768.out


ts1769: ts1769.dgl
	dgl -e <ts1769.dgl >ts1769.cpp
	g++ $(CFLAGS) ts1769.cpp -o ts1769

ts1769.out: ts1769
	ts1769 >ts1769.out


ts1770: ts1770.dgl
	dgl -e <ts1770.dgl >ts1770.cpp
	g++ $(CFLAGS) ts1770.cpp -o ts1770

ts1770.out: ts1770
	ts1770 >ts1770.out


ts1771: ts1771.dgl
	dgl -e <ts1771.dgl >ts1771.cpp
	g++ $(CFLAGS) ts1771.cpp -o ts1771

ts1771.out: ts1771
	ts1771 >ts1771.out


ts1772: ts1772.dgl
	dgl -e <ts1772.dgl >ts1772.cpp
	g++ $(CFLAGS) ts1772.cpp -o ts1772

ts1772.out: ts1772
	ts1772 >ts1772.out


ts1773: ts1773.dgl
	dgl -e <ts1773.dgl >ts1773.cpp
	g++ $(CFLAGS) ts1773.cpp -o ts1773

ts1773.out: ts1773
	ts1773 >ts1773.out


ts1774: ts1774.dgl
	dgl <ts1774.dgl >ts1774.cpp
	g++ $(CFLAGS) ts1774.cpp -o ts1774

ts1774.out: ts1774
	ts1774 >ts1774.out


ts1775: ts1775.dgl
	dgl <ts1775.dgl >ts1775.cpp
	g++ $(CFLAGS) ts1775.cpp -o ts1775

ts1775.out: ts1775
	ts1775 >ts1775.out


ts1776: ts1776.dgl
	dgl <ts1776.dgl >ts1776.cpp
	g++ $(CFLAGS) ts1776.cpp -o ts1776

ts1776.out: ts1776
	ts1776 >ts1776.out


ts1777: ts1777.dgl
	dgl <ts1777.dgl >ts1777.cpp
	g++ $(CFLAGS) ts1777.cpp -o ts1777

ts1777.out: ts1777
	ts1777 >ts1777.out


ts1778: ts1778.dgl
	dgl <ts1778.dgl >ts1778.cpp
	g++ $(CFLAGS) ts1778.cpp -o ts1778

ts1778.out: ts1778
	ts1778 >ts1778.out


ts1779: ts1779.dgl
	dgl <ts1779.dgl >ts1779.cpp
	g++ $(CFLAGS) ts1779.cpp -o ts1779

ts1779.out: ts1779
	ts1779 >ts1779.out


ts1780: ts1780.dgl
	dgl -e <ts1780.dgl >ts1780.cpp
	g++ $(CFLAGS) ts1780.cpp -o ts1780

ts1780.out: ts1780
	ts1780 >ts1780.out


ts1781: ts1781.dgl
	dgl -e <ts1781.dgl >ts1781.cpp
	g++ $(CFLAGS) ts1781.cpp -o ts1781

ts1781.out: ts1781
	ts1781 >ts1781.out


ts1782: ts1782.dgl
	dgl <ts1782.dgl >ts1782.cpp
	g++ $(CFLAGS) ts1782.cpp -o ts1782

ts1782.out: ts1782
	ts1782 >ts1782.out


ts1783: ts1783.dgl
	dgl <ts1783.dgl >ts1783.cpp
	g++ $(CFLAGS) ts1783.cpp -o ts1783

ts1783.out: ts1783
	ts1783 >ts1783.out


ts1784: ts1784.dgl
	dgl -e <ts1784.dgl >ts1784.cpp
	g++ $(CFLAGS) ts1784.cpp -o ts1784

ts1784.out: ts1784
	ts1784 >ts1784.out


ts1785: ts1785.dgl
	dgl -e <ts1785.dgl >ts1785.cpp
	g++ $(CFLAGS) ts1785.cpp -o ts1785

ts1785.out: ts1785
	ts1785 >ts1785.out


ts1786: ts1786.dgl
	dgl <ts1786.dgl >ts1786.cpp
	g++ $(CFLAGS) ts1786.cpp -o ts1786

ts1786.out: ts1786
	ts1786 >ts1786.out


ts1787: ts1787.dgl
	dgl <ts1787.dgl >ts1787.cpp
	g++ $(CFLAGS) ts1787.cpp -o ts1787

ts1787.out: ts1787
	ts1787 >ts1787.out


ts1788: ts1788.dgl
	dgl <ts1788.dgl >ts1788.cpp
	g++ $(CFLAGS) ts1788.cpp -o ts1788

ts1788.out: ts1788
	ts1788 >ts1788.out


ts1789: ts1789.dgl
	dgl <ts1789.dgl >ts1789.cpp
	g++ $(CFLAGS) ts1789.cpp -o ts1789

ts1789.out: ts1789
	ts1789 >ts1789.out


ts1790: ts1790.dgl
	dgl <ts1790.dgl >ts1790.cpp
	g++ $(CFLAGS) ts1790.cpp -o ts1790

ts1790.out: ts1790
	ts1790 >ts1790.out


ts1791: ts1791.dgl
	dgl <ts1791.dgl >ts1791.cpp
	g++ $(CFLAGS) ts1791.cpp -o ts1791

ts1791.out: ts1791
	ts1791 >ts1791.out


ts1792: ts1792.dgl
	dgl -e <ts1792.dgl >ts1792.cpp
	g++ $(CFLAGS) ts1792.cpp -o ts1792

ts1792.out: ts1792
	ts1792 >ts1792.out


ts1793: ts1793.dgl
	dgl -e <ts1793.dgl >ts1793.cpp
	g++ $(CFLAGS) ts1793.cpp -o ts1793

ts1793.out: ts1793
	ts1793 >ts1793.out


ts1794: ts1794.dgl
	dgl <ts1794.dgl >ts1794.cpp
	g++ $(CFLAGS) ts1794.cpp -o ts1794

ts1794.out: ts1794
	ts1794 >ts1794.out


ts1795: ts1795.dgl
	dgl <ts1795.dgl >ts1795.cpp
	g++ $(CFLAGS) ts1795.cpp -o ts1795

ts1795.out: ts1795
	ts1795 >ts1795.out


ts1796: ts1796.dgl
	dgl -e <ts1796.dgl >ts1796.cpp
	g++ $(CFLAGS) ts1796.cpp -o ts1796

ts1796.out: ts1796
	ts1796 >ts1796.out


ts1797: ts1797.dgl
	dgl -e <ts1797.dgl >ts1797.cpp
	g++ $(CFLAGS) ts1797.cpp -o ts1797

ts1797.out: ts1797
	ts1797 >ts1797.out


ts1798: ts1798.dgl
	dgl <ts1798.dgl >ts1798.cpp
	g++ $(CFLAGS) ts1798.cpp -o ts1798

ts1798.out: ts1798
	ts1798 >ts1798.out


ts1799: ts1799.dgl
	dgl <ts1799.dgl >ts1799.cpp
	g++ $(CFLAGS) ts1799.cpp -o ts1799

ts1799.out: ts1799
	ts1799 >ts1799.out


ts1800: ts1800.dgl
	dgl <ts1800.dgl >ts1800.cpp
	g++ $(CFLAGS) ts1800.cpp -o ts1800

ts1800.out: ts1800
	ts1800 >ts1800.out



clean:
	rm -f $(OUTFILES)
	rm -f $(CFILES)
	rm -f $(RANDFILES)
	rm -f $(EXFILES)
	rm -f all.out
	rm -f core

.SUFFIXES: .dgl
