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

DRCFILES=dr1016.cpp dr1017.cpp dr1018.cpp dr1019.cpp dr1020.cpp dr1021.cpp dr1022.cpp dr1023.cpp dr1024.cpp dr1025.cpp \
	dr1026.cpp dr1027.cpp dr1028.cpp dr1029.cpp dr1030.cpp dr1031.cpp dr1059.cpp dr1060.cpp dr1061.cpp

DGLFILES=ts1001.dgl ts1002.dgl ts1003.dgl ts1004.dgl ts1005.dgl ts1006.dgl ts1007.dgl ts1008.dgl ts1009.dgl ts1010.dgl \
	ts1011.dgl ts1012.dgl ts1013.dgl ts1014.dgl ts1015.dgl ts1016.dgl ts1017.dgl ts1018.dgl ts1019.dgl ts1020.dgl \
	ts1021.dgl ts1022.dgl ts1023.dgl ts1024.dgl ts1025.dgl ts1026.dgl ts1027.dgl ts1028.dgl ts1029.dgl ts1030.dgl \
	ts1031.dgl ts1032.dgl ts1033.dgl ts1034.dgl ts1035.dgl ts1036.dgl ts1037.dgl ts1038.dgl ts1039.dgl ts1040.dgl \
	ts1041.dgl ts1042.dgl ts1043.dgl ts1044.dgl ts1045.dgl ts1046.dgl ts1047.dgl ts1048.dgl ts1049.dgl ts1050.dgl \
	ts1051.dgl ts1052.dgl ts1053.dgl ts1054.dgl ts1055.dgl ts1056.dgl ts1057.dgl ts1058.dgl ts1059.dgl ts1060.dgl \
	ts1061.dgl ts1062.dgl ts1063.dgl ts1064.dgl ts1065.dgl ts1066.dgl ts1067.dgl ts1068.dgl ts1069.dgl ts1070.dgl \
	ts1071.dgl ts1072.dgl ts1073.dgl ts1074.dgl ts1075.dgl ts1076.dgl ts1077.dgl ts1078.dgl ts1079.dgl ts1080.dgl \
	ts1081.dgl ts1082.dgl ts1083.dgl ts1084.dgl ts1085.dgl ts1086.dgl ts1087.dgl ts1088.dgl ts1089.dgl ts1090.dgl \
	ts1091.dgl ts1092.dgl ts1093.dgl ts1094.dgl ts1095.dgl ts1096.dgl ts1097.dgl ts1098.dgl ts1099.dgl ts1100.dgl

CFILES= ts1001.cpp ts1002.cpp ts1003.cpp ts1004.cpp ts1005.cpp ts1006.cpp ts1007.cpp ts1008.cpp ts1009.cpp ts1010.cpp \
	ts1011.cpp ts1012.cpp ts1013.cpp ts1014.cpp ts1015.cpp ts1016.cpp ts1017.cpp ts1018.cpp ts1019.cpp ts1020.cpp \
	ts1021.cpp ts1022.cpp ts1023.cpp ts1024.cpp ts1025.cpp ts1026.cpp ts1027.cpp ts1028.cpp ts1029.cpp ts1030.cpp \
	ts1031.cpp ts1032.cpp ts1033.cpp ts1034.cpp ts1035.cpp ts1036.cpp ts1037.cpp ts1038.cpp ts1039.cpp ts1040.cpp \
	ts1041.cpp ts1042.cpp ts1043.cpp ts1044.cpp ts1045.cpp ts1046.cpp ts1047.cpp ts1048.cpp ts1049.cpp ts1050.cpp \
	ts1051.cpp ts1052.cpp ts1053.cpp ts1054.cpp ts1055.cpp ts1056.cpp ts1057.cpp ts1058.cpp ts1059.cpp ts1060.cpp \
	ts1061.cpp ts1062.cpp ts1063.cpp ts1064.cpp ts1065.cpp ts1066.cpp ts1067.cpp ts1068.cpp ts1069.cpp ts1070.cpp \
	ts1071.cpp ts1072.cpp ts1073.cpp ts1074.cpp ts1075.cpp ts1076.cpp ts1077.cpp ts1078.cpp ts1079.cpp ts1080.cpp \
	ts1081.cpp ts1082.cpp ts1083.cpp ts1084.cpp ts1085.cpp ts1086.cpp ts1087.cpp ts1088.cpp ts1089.cpp ts1090.cpp \
	ts1091.cpp ts1092.cpp ts1093.cpp ts1094.cpp ts1095.cpp ts1096.cpp ts1097.cpp ts1098.cpp ts1099.cpp ts1100.cpp

RANDFILES=ts1001.rand ts1002.rand ts1003.rand ts1004.rand ts1005.rand ts1006.rand ts1007.rand ts1008.rand ts1009.rand ts1010.rand \
	ts1011.rand ts1012.rand ts1013.rand ts1014.rand ts1015.rand ts1016.rand ts1017.rand ts1018.rand ts1019.rand ts1020.rand \
	ts1021.rand ts1022.rand ts1023.rand ts1024.rand ts1025.rand ts1026.rand ts1027.rand ts1028.rand ts1029.rand ts1030.rand \
	ts1031.rand ts1032.rand ts1033.rand ts1034.rand ts1035.rand ts1036.rand ts1037.rand ts1038.rand ts1039.rand ts1040.rand \
	ts1041.rand ts1042.rand ts1043.rand ts1044.rand ts1045.rand ts1046.rand ts1047.rand ts1048.rand ts1049.rand ts1050.rand \
	ts1051.rand ts1052.rand ts1053.rand ts1054.rand ts1055.rand ts1056.rand ts1057.rand ts1058.rand ts1059.rand ts1060.rand \
	ts1061.rand ts1062.rand ts1063.rand ts1064.rand ts1065.rand ts1066.rand ts1067.rand ts1068.rand ts1069.rand ts1070.rand \
	ts1071.rand ts1072.rand ts1073.rand ts1074.rand ts1075.rand ts1076.rand ts1077.rand ts1078.rand ts1079.rand ts1080.rand \
	ts1081.rand ts1082.rand ts1083.rand ts1084.rand ts1085.rand ts1086.rand ts1087.rand ts1088.rand ts1089.rand ts1090.rand \
	ts1091.rand ts1092.rand ts1093.rand ts1094.rand ts1095.rand ts1096.rand ts1097.rand ts1098.rand ts1099.rand ts1100.rand

EXFILES=ts1001 ts1002 ts1003 ts1004 ts1005 ts1006 ts1007 ts1008 ts1009 ts1010 \
	ts1011 ts1012 ts1013 ts1014 ts1015 ts1016 ts1017 ts1018 ts1019 ts1020 \
	ts1021 ts1022 ts1023 ts1024 ts1025 ts1026 ts1027 ts1028 ts1029 ts1030 \
	ts1031 ts1032 ts1033 ts1034 ts1035 ts1036 ts1037 ts1038 ts1039 ts1040 \
	ts1041 ts1042 ts1043 ts1044 ts1045 ts1046 ts1047 ts1048 ts1049 ts1050 \
	ts1051 ts1052 ts1053 ts1054 ts1055 ts1056 ts1057 ts1058 ts1059 ts1060 \
	ts1061 ts1062 ts1063 ts1064 ts1065 ts1066 ts1067 ts1068 ts1069 ts1070 \
	ts1071 ts1072 ts1073 ts1074 ts1075 ts1076 ts1077 ts1078 ts1079 ts1080 \
	ts1081 ts1082 ts1083 ts1084 ts1085 ts1086 ts1087 ts1088 ts1089 ts1090 \
	ts1091 ts1092 ts1093 ts1094 ts1095 ts1096 ts1097 ts1098 ts1099 ts1100

OUTFILES=ts1001.out ts1002.out ts1003.out ts1004.out ts1005.out ts1006.out ts1007.out ts1008.out ts1009.out ts1010.out \
	ts1011.out ts1012.out ts1013.out ts1014.out ts1015.out ts1016.out ts1017.out ts1018.out ts1019.out ts1020.out \
	ts1021.out ts1022.out ts1023.out ts1024.out ts1025.out ts1026.out ts1027.out ts1028.out ts1029.out ts1030.out \
	ts1031.out ts1032.out ts1033.out ts1034.out ts1035.out ts1036.out ts1037.out ts1038.out ts1039.out ts1040.out \
	ts1041.out ts1042.out ts1043.out ts1044.out ts1045.out ts1046.out ts1047.out ts1048.out ts1049.out ts1050.out \
	ts1051.out ts1052.out ts1053.out ts1054.out ts1055.out ts1056.out ts1057.out ts1058.out ts1059.out ts1060.out \
	ts1061.out ts1062.out ts1063.out ts1064.out ts1065.out ts1066.out ts1067.out ts1068.out ts1069.out ts1070.out \
	ts1071.out ts1072.out ts1073.out ts1074.out ts1075.out ts1076.out ts1077.out ts1078.out ts1079.out ts1080.out \
	ts1081.out ts1082.out ts1083.out ts1084.out ts1085.out ts1086.out ts1087.out ts1088.out ts1089.out ts1090.out \
	ts1091.out ts1092.out ts1093.out ts1094.out ts1095.out ts1096.out ts1097.out ts1098.out ts1099.out ts1100.out

all: $(EXFILES)

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

ts1001: ts1001.dgl
	dgl <ts1001.dgl >ts1001.cpp
	cc $(CFLAGS) ts1001.cpp -o ts1001

ts1001.out: ts1001
	ts1001 >ts1001.out


ts1002: ts1002.dgl
	dgl <ts1002.dgl >ts1002.cpp
	cc $(CFLAGS) ts1002.cpp -o ts1002

ts1002.out: ts1002
	ts1002 >ts1002.out


ts1003: ts1003.dgl
	dgl <ts1003.dgl >ts1003.cpp
	cc $(CFLAGS) ts1003.cpp -o ts1003

ts1003.out: ts1003
	ts1003 >ts1003.out


ts1004: ts1004.dgl
	dgl <ts1004.dgl >ts1004.cpp
	cc $(CFLAGS) ts1004.cpp -o ts1004

ts1004.out: ts1004
	ts1004 >ts1004.out


ts1005: ts1005.dgl
	dgl <ts1005.dgl >ts1005.cpp
	cc $(CFLAGS) ts1005.cpp -o ts1005

ts1005.out: ts1005
	ts1005 >ts1005.out


ts1006: ts1006.dgl
	dgl <ts1006.dgl >ts1006.cpp
	cc $(CFLAGS) ts1006.cpp -o ts1006

ts1006.out: ts1006
	ts1006 >ts1006.out


ts1007: ts1007.dgl
	dgl <ts1007.dgl >ts1007.cpp
	cc $(CFLAGS) ts1007.cpp -o ts1007

ts1007.out: ts1007
	ts1007 >ts1007.out


ts1008: ts1008.dgl
	dgl <ts1008.dgl >ts1008.cpp
	cc $(CFLAGS) ts1008.cpp -o ts1008

ts1008.out: ts1008
	ts1008 >ts1008.out


ts1009: ts1009.dgl
	dgl <ts1009.dgl >ts1009.cpp
	cc $(CFLAGS) ts1009.cpp -o ts1009

ts1009.out: ts1009
	ts1009 >ts1009.out


ts1010: ts1010.dgl
	dgl <ts1010.dgl >ts1010.cpp
	cc $(CFLAGS) ts1010.cpp -o ts1010

ts1010.out: ts1010
	ts1010 >ts1010.out


ts1011: ts1011.dgl
	dgl <ts1011.dgl >ts1011.cpp
	cc $(CFLAGS) ts1011.cpp -o ts1011

ts1011.out: ts1011
	ts1011 >ts1011.out


ts1012: ts1012.dgl
	dgl <ts1012.dgl >ts1012.cpp
	cc $(CFLAGS) ts1012.cpp -o ts1012

ts1012.out: ts1012
	ts1012 >ts1012.out


ts1013: ts1013.dgl
	dgl <ts1013.dgl >ts1013.cpp
	cc $(CFLAGS) ts1013.cpp -o ts1013

ts1013.out: ts1013
	ts1013 >ts1013.out


ts1014: ts1014.dgl
	-dgl <ts1014.dgl >ts1014.cpp
	touch ts1014

ts1014.out: ts1014
	touch ts1014.out


ts1015: ts1015.dgl
	-dgl <ts1015.dgl >ts1015.cpp
	touch ts1015

ts1015.out: ts1015
	touch ts1015.out


ts1016: ts1016.dgl dr1016.cpp 
	dgl <ts1016.dgl >ts1016.cpp
	cc $(CFLAGS) ts1016.cpp dr1016.cpp -o ts1016

ts1016.out: ts1016
	ts1016 >ts1016.out


ts1017: ts1017.dgl dr1017.cpp
	dgl <ts1017.dgl >ts1017.cpp
	cc $(CFLAGS) ts1017.cpp dr1017.cpp -o ts1017

ts1017.out: ts1017
	ts1017 >ts1017.out


ts1018: ts1018.dgl dr1018.cpp
	dgl <ts1018.dgl >ts1018.cpp
	cc $(CFLAGS) ts1018.cpp dr1018.cpp -o ts1018

ts1018.out: ts1018
	ts1018 >ts1018.out


ts1019: ts1019.dgl dr1019.cpp
	dgl <ts1019.dgl >ts1019.cpp
	cc $(CFLAGS) ts1019.cpp dr1019.cpp -o ts1019

ts1019.out: ts1019
	ts1019 >ts1019.out


ts1020: ts1020.dgl dr1020.cpp
	dgl <ts1020.dgl >ts1020.cpp
	cc $(CFLAGS) ts1020.cpp dr1020.cpp -o ts1020

ts1020.out: ts1020
	ts1020 >ts1020.out


ts1021: ts1021.dgl dr1021.cpp
	dgl <ts1021.dgl >ts1021.cpp
	cc $(CFLAGS) ts1021.cpp dr1021.cpp -o ts1021

ts1021.out: ts1021
	ts1021 >ts1021.out


ts1022: ts1022.dgl dr1022.cpp
	dgl <ts1022.dgl >ts1022.cpp
	cc $(CFLAGS) ts1022.cpp dr1022.cpp -o ts1022

ts1022.out: ts1022
	ts1022 >ts1022.out


ts1023: ts1023.dgl dr1023.cpp
	dgl <ts1023.dgl >ts1023.cpp
	cc $(CFLAGS) ts1023.cpp dr1023.cpp -o ts1023

ts1023.out: ts1023
	ts1023 >ts1023.out


ts1024: ts1024.dgl dr1024.cpp
	dgl <ts1024.dgl >ts1024.cpp
	cc $(CFLAGS) ts1024.cpp dr1024.cpp -o ts1024

ts1024.out: ts1024
	ts1024 >ts1024.out


ts1025: ts1025.dgl dr1025.cpp
	dgl <ts1025.dgl >ts1025.cpp
	cc $(CFLAGS) ts1025.cpp dr1025.cpp -o ts1025

ts1025.out: ts1025
	ts1025 >ts1025.out


ts1026: ts1026.dgl dr1026.cpp
	dgl <ts1026.dgl >ts1026.cpp
	cc $(CFLAGS) ts1026.cpp dr1026.cpp -o ts1026

ts1026.out: ts1026
	ts1026 >ts1026.out


ts1027: ts1027.dgl dr1027.cpp
	dgl <ts1027.dgl >ts1027.cpp
	cc $(CFLAGS) ts1027.cpp dr1027.cpp -o ts1027

ts1027.out: ts1027
	ts1027 >ts1027.out


ts1028: ts1028.dgl dr1028.cpp
	dgl <ts1028.dgl >ts1028.cpp
	cc $(CFLAGS) ts1028.cpp dr1028.cpp -o ts1028

ts1028.out: ts1028
	ts1028 >ts1028.out


ts1029: ts1029.dgl dr1029.cpp
	dgl <ts1029.dgl >ts1029.cpp
	cc $(CFLAGS) ts1029.cpp dr1029.cpp -o ts1029

ts1029.out: ts1029
	ts1029 >ts1029.out


ts1030: ts1030.dgl dr1030.cpp
	dgl <ts1030.dgl >ts1030.cpp
	cc $(CFLAGS) ts1030.cpp dr1030.cpp -o ts1030

ts1030.out: ts1030
	ts1030 >ts1030.out


ts1031: ts1031.dgl dr1031.cpp
	dgl <ts1031.dgl >ts1031.cpp
	cc $(CFLAGS) ts1031.cpp dr1031.cpp -o ts1031

ts1031.out: ts1031
	ts1031 >ts1031.out


ts1032: ts1032.dgl
	dgl <ts1032.dgl >ts1032.cpp
	cc $(CFLAGS) ts1032.cpp -o ts1032

ts1032.out: ts1032
	ts1032 >ts1032.out


ts1033: ts1033.dgl
	dgl <ts1033.dgl >ts1033.cpp
	cc $(CFLAGS) ts1033.cpp -o ts1033

ts1033.out: ts1033
	ts1033 >ts1033.out


ts1034: ts1034.dgl
	dgl <ts1034.dgl >ts1034.cpp
	cc $(CFLAGS) ts1034.cpp -o ts1034

ts1034.out: ts1034
	ts1034 >ts1034.out


ts1035: ts1035.dgl
	dgl <ts1035.dgl >ts1035.cpp
	cc $(CFLAGS) ts1035.cpp -o ts1035

ts1035.out: ts1035
	ts1035 >ts1035.out


ts1036: ts1036.dgl
	dgl <ts1036.dgl >ts1036.cpp
	cc $(CFLAGS) ts1036.cpp -o ts1036

ts1036.out: ts1036
	ts1036 >ts1036.out


ts1037: ts1037.dgl
	dgl <ts1037.dgl >ts1037.cpp
	cc $(CFLAGS) ts1037.cpp -o ts1037

ts1037.out: ts1037
	ts1037 >ts1037.out


ts1038: ts1038.dgl
	dgl <ts1038.dgl >ts1038.cpp
	cc $(CFLAGS) ts1038.cpp -o ts1038

ts1038.out: ts1038
	ts1038 >ts1038.out


ts1039: ts1039.dgl
	dgl <ts1039.dgl >ts1039.cpp
	cc $(CFLAGS) ts1039.cpp -o ts1039

ts1039.out: ts1039
	ts1039 >ts1039.out


ts1040: ts1040.dgl
	dgl <ts1040.dgl >ts1040.cpp
	cc $(CFLAGS) ts1040.cpp -o ts1040

ts1040.out: ts1040
	ts1040 >ts1040.out


ts1041: ts1041.dgl
	dgl <ts1041.dgl >ts1041.cpp
	cc $(CFLAGS) ts1041.cpp -o ts1041

ts1041.out: ts1041
	ts1041 >ts1041.out


ts1042: ts1042.dgl
	dgl <ts1042.dgl >ts1042.cpp
	cc $(CFLAGS) ts1042.cpp -o ts1042

ts1042.out: ts1042
	ts1042 >ts1042.out


ts1043: ts1043.dgl
	dgl <ts1043.dgl >ts1043.cpp
	cc $(CFLAGS) ts1043.cpp -o ts1043

ts1043.out: ts1043
	ts1043 >ts1043.out


ts1044: ts1044.dgl
	dgl <ts1044.dgl >ts1044.cpp
	cc $(CFLAGS) ts1044.cpp -o ts1044

ts1044.out: ts1044
	ts1044 >ts1044.out


ts1045: ts1045.dgl
	dgl <ts1045.dgl >ts1045.cpp
	cc $(CFLAGS) ts1045.cpp -o ts1045

ts1045.out: ts1045
	ts1045 >ts1045.out


ts1046: ts1046.dgl
	dgl <ts1046.dgl >ts1046.cpp
	cc $(CFLAGS) ts1046.cpp -o ts1046

ts1046.out: ts1046
	ts1046 >ts1046.out


ts1047: ts1047.dgl
	dgl <ts1047.dgl >ts1047.cpp
	cc $(CFLAGS) ts1047.cpp -o ts1047

ts1047.out: ts1047
	ts1047 >ts1047.out


ts1048: ts1048.dgl
	dgl <ts1048.dgl >ts1048.cpp
	cc $(CFLAGS) ts1048.cpp -o ts1048

ts1048.out: ts1048
	ts1048 >ts1048.out


ts1049: ts1049.dgl
	-dgl <ts1049.dgl >ts1049.cpp
	touch ts1049

ts1049.out: ts1049
	touch ts1049.out


ts1050: ts1050.dgl
	-dgl <ts1050.dgl >ts1050.cpp
	touch ts1050

ts1050.out: ts1050
	touch ts1050.out


ts1051: ts1051.dgl
	dgl <ts1051.dgl >ts1051.cpp
	cc $(CFLAGS) ts1051.cpp -o ts1051

ts1051.out: ts1051
	ts1051 >ts1051.out


ts1052: ts1052.dgl
	dgl <ts1052.dgl >ts1052.cpp
	cc $(CFLAGS) ts1052.cpp -o ts1052

ts1052.out: ts1052
	ts1052 >ts1052.out


ts1053: ts1053.dgl
	dgl <ts1053.dgl >ts1053.cpp
	cc $(CFLAGS) ts1053.cpp -o ts1053

ts1053.out: ts1053
	ts1053 >ts1053.out


ts1054: ts1054.dgl
	dgl <ts1054.dgl >ts1054.cpp
	cc $(CFLAGS) ts1054.cpp -o ts1054

ts1054.out: ts1054
	ts1054 >ts1054.out


ts1055: ts1055.dgl
	dgl <ts1055.dgl >ts1055.cpp
	cc $(CFLAGS) ts1055.cpp -o ts1055

ts1055.out: ts1055
	ts1055 >ts1055.out


ts1056: ts1056.dgl
	dgl <ts1056.dgl >ts1056.cpp
	cc $(CFLAGS) ts1056.cpp -o ts1056

ts1056.out: ts1056
	ts1056 >ts1056.out


ts1057: ts1057.dgl
	dgl <ts1057.dgl >ts1057.cpp
	cc $(CFLAGS) ts1057.cpp -o ts1057

ts1057.out: ts1057
	ts1057 >ts1057.out


ts1058: ts1058.dgl
	dgl <ts1058.dgl >ts1058.cpp
	cc $(CFLAGS) ts1058.cpp -o ts1058

ts1058.out: ts1058
	ts1058 >ts1058.out


ts1059: ts1059.dgl dr1059.cpp
	dgl <ts1059.dgl >ts1059.cpp
	cc $(CFLAGS) ts1059.cpp dr1059.cpp -o ts1059

ts1059.out: ts1059
	ts1059 >ts1059.out


ts1060: ts1060.dgl dr1060.cpp
	dgl <ts1060.dgl >ts1060.cpp
	cc $(CFLAGS) ts1060.cpp dr1060.cpp -o ts1060

ts1060.out: ts1060
	ts1060 >ts1060.out


ts1061: ts1061.dgl dr1061.cpp
	dgl <ts1061.dgl >ts1061.cpp
	cc $(CFLAGS) ts1061.cpp dr1061.cpp -o ts1061

ts1061.out: ts1061
	ts1061 >ts1061.out


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

ts1062.out: ts1062
	ts1062 >ts1062.out


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

ts1063.out: ts1063
	ts1063 >ts1063.out


ts1064: ts1064.dgl
	-dgl <ts1064.dgl >ts1064.cpp
	touch ts1064

ts1064.out: ts1064
	touch ts1064.out


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

ts1065.out: ts1065
	-ts1065 >ts1065.out


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

ts1066.out: ts1066
	ts1066 >ts1066.out


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

ts1067.out: ts1067
	ts1067 >ts1067.out


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

ts1068.out: ts1068
	ts1068 >ts1068.out


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

ts1069.out: ts1069
	ts1069 >ts1069.out


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

ts1070.out: ts1070
	ts1070 >ts1070.out


ts1071: ts1071.dgl
	-dgl <ts1071.dgl >ts1071.cpp
	touch ts1071

ts1071.out: ts1071
	touch ts1071.out


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

ts1072.out: ts1072
	ts1072 >ts1072.out


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

ts1073.out: ts1073
	-ts1073 >ts1073.out


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

ts1074.out: ts1074
	ts1074 >ts1074.out


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

ts1075.out: ts1075
	ts1075 >ts1075.out


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

ts1076.out: ts1076
	ts1076 >ts1076.out


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

ts1077.out: ts1077
	ts1077 >ts1077.out


ts1078: ts1078.dgl
	-dgl <ts1078.dgl >ts1078.cpp
	touch ts1078

ts1078.out: ts1078
	touch ts1078.out


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

ts1079.out: ts1079
	ts1079 >ts1079.out


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

ts1080.out: ts1080
	ts1080 >ts1080.out


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

ts1081.out: ts1081
	ts1081 >ts1081.out


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

ts1082.out: ts1082
	ts1082 >ts1082.out


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

ts1083.out: ts1083
	ts1083 >ts1083.out


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

ts1084.out: ts1084
	ts1084 >ts1084.out


ts1085: ts1085.dgl
	-dgl <ts1085.dgl >ts1085.cpp
	touch ts1085

ts1085.out: ts1085
	touch ts1085.out


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

ts1086.out: ts1086
	ts1086 >ts1086.out


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

ts1087.out: ts1087
	ts1087 >ts1087.out


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

ts1088.out: ts1088
	ts1088 >ts1088.out


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

ts1089.out: ts1089
	ts1089 >ts1089.out


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

ts1090.out: ts1090
	ts1090 >ts1090.out


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

ts1091.out: ts1091
	ts1091 >ts1091.out


ts1092: ts1092.dgl
	-dgl <ts1092.dgl >ts1092.cpp
	touch ts1092

ts1092.out: ts1092
	touch ts1092.out


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

ts1093.out: ts1093
	ts1093 >ts1093.out


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

ts1094.out: ts1094
	ts1094 >ts1094.out


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

ts1095.out: ts1095
	ts1095 >ts1095.out


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

ts1096.out: ts1096
	ts1096 >ts1096.out


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

ts1097.out: ts1097
	ts1097 >ts1097.out


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

ts1098.out: ts1098
	ts1098 >ts1098.out


ts1099: ts1099.dgl
	-dgl <ts1099.dgl >ts1099.cpp
	touch ts1099

ts1099.out: ts1099
	touch ts1099.out


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

ts1100.out: ts1100
	ts1100 >ts1100.out



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

.SUFFIXES: .dgl
