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

DGLFILES=ts2901.dgl ts2902.dgl ts2903.dgl ts2904.dgl ts2905.dgl ts2906.dgl ts2907.dgl ts2908.dgl ts2909.dgl ts2910.dgl \
	ts2911.dgl ts2912.dgl ts2913.dgl ts2914.dgl ts2915.dgl ts2916.dgl ts2917.dgl ts2918.dgl ts2919.dgl ts2920.dgl \
	ts2921.dgl ts2922.dgl ts2923.dgl ts2924.dgl ts2925.dgl ts2926.dgl ts2927.dgl ts2928.dgl ts2929.dgl ts2930.dgl \
	ts2931.dgl ts2932.dgl ts2933.dgl ts2934.dgl ts2935.dgl ts2936.dgl ts2937.dgl ts2938.dgl ts2939.dgl ts2940.dgl \
	ts2941.dgl ts2942.dgl ts2943.dgl ts2944.dgl ts2945.dgl ts2946.dgl ts2947.dgl ts2948.dgl ts2949.dgl ts2950.dgl \
	ts2951.dgl ts2952.dgl ts2953.dgl ts2954.dgl ts2955.dgl ts2956.dgl ts2957.dgl ts2958.dgl ts2959.dgl ts2960.dgl \
	ts2961.dgl ts2962.dgl ts2963.dgl ts2964.dgl ts2965.dgl ts2966.dgl ts2967.dgl ts2968.dgl ts2969.dgl ts2970.dgl \
	ts2971.dgl ts2972.dgl ts2973.dgl ts2974.dgl ts2975.dgl ts2976.dgl ts2977.dgl ts2978.dgl ts2979.dgl ts2980.dgl \
	ts2981.dgl ts2982.dgl ts2983.dgl ts2984.dgl ts2985.dgl ts2986.dgl ts2987.dgl ts2988.dgl ts2989.dgl ts2990.dgl \
	ts2991.dgl ts2992.dgl ts2993.dgl ts2994.dgl ts2995.dgl ts2996.dgl ts2997.dgl ts2998.dgl ts2999.dgl ts3000.dgl

CFILES= ts2901.cpp ts2902.cpp ts2903.cpp ts2904.cpp ts2905.cpp ts2906.cpp ts2907.cpp ts2908.cpp ts2909.cpp ts2910.cpp \
	ts2911.cpp ts2912.cpp ts2913.cpp ts2914.cpp ts2915.cpp ts2916.cpp ts2917.cpp ts2918.cpp ts2919.cpp ts2920.cpp \
	ts2921.cpp ts2922.cpp ts2923.cpp ts2924.cpp ts2925.cpp ts2926.cpp ts2927.cpp ts2928.cpp ts2929.cpp ts2930.cpp \
	ts2931.cpp ts2932.cpp ts2933.cpp ts2934.cpp ts2935.cpp ts2936.cpp ts2937.cpp ts2938.cpp ts2939.cpp ts2940.cpp \
	ts2941.cpp ts2942.cpp ts2943.cpp ts2944.cpp ts2945.cpp ts2946.cpp ts2947.cpp ts2948.cpp ts2949.cpp ts2950.cpp \
	ts2951.cpp ts2952.cpp ts2953.cpp ts2954.cpp ts2955.cpp ts2956.cpp ts2957.cpp ts2958.cpp ts2959.cpp ts2960.cpp \
	ts2961.cpp ts2962.cpp ts2963.cpp ts2964.cpp ts2965.cpp ts2966.cpp ts2967.cpp ts2968.cpp ts2969.cpp ts2970.cpp \
	ts2971.cpp ts2972.cpp ts2973.cpp ts2974.cpp ts2975.cpp ts2976.cpp ts2977.cpp ts2978.cpp ts2979.cpp ts2980.cpp \
	ts2981.cpp ts2982.cpp ts2983.cpp ts2984.cpp ts2985.cpp ts2986.cpp ts2987.cpp ts2988.cpp ts2989.cpp ts2990.cpp \
	ts2991.cpp ts2992.cpp ts2993.cpp ts2994.cpp ts2995.cpp ts2996.cpp ts2997.cpp ts2998.cpp ts2999.cpp ts3000.cpp

RANDFILES=ts2901.rand ts2902.rand ts2903.rand ts2904.rand ts2905.rand ts2906.rand ts2907.rand ts2908.rand ts2909.rand ts2910.rand \
	ts2911.rand ts2912.rand ts2913.rand ts2914.rand ts2915.rand ts2916.rand ts2917.rand ts2918.rand ts2919.rand ts2920.rand \
	ts2921.rand ts2922.rand ts2923.rand ts2924.rand ts2925.rand ts2926.rand ts2927.rand ts2928.rand ts2929.rand ts2930.rand \
	ts2931.rand ts2932.rand ts2933.rand ts2934.rand ts2935.rand ts2936.rand ts2937.rand ts2938.rand ts2939.rand ts2940.rand \
	ts2941.rand ts2942.rand ts2943.rand ts2944.rand ts2945.rand ts2946.rand ts2947.rand ts2948.rand ts2949.rand ts2950.rand \
	ts2951.rand ts2952.rand ts2953.rand ts2954.rand ts2955.rand ts2956.rand ts2957.rand ts2958.rand ts2959.rand ts2960.rand \
	ts2961.rand ts2962.rand ts2963.rand ts2964.rand ts2965.rand ts2966.rand ts2967.rand ts2968.rand ts2969.rand ts2970.rand \
	ts2971.rand ts2972.rand ts2973.rand ts2974.rand ts2975.rand ts2976.rand ts2977.rand ts2978.rand ts2979.rand ts2980.rand \
	ts2981.rand ts2982.rand ts2983.rand ts2984.rand ts2985.rand ts2986.rand ts2987.rand ts2988.rand ts2989.rand ts2990.rand \
	ts2991.rand ts2992.rand ts2993.rand ts2994.rand ts2995.rand ts2996.rand ts2997.rand ts2998.rand ts2999.rand ts3000.rand

EXFILES=ts2901 ts2902 ts2903 ts2904 ts2905 ts2906 ts2907 ts2908 ts2909 ts2910 \
	ts2911 ts2912 ts2913 ts2914 ts2915 ts2916 ts2917 ts2918 ts2919 ts2920 \
	ts2921 ts2922 ts2923 ts2924 ts2925 ts2926 ts2927 ts2928 ts2929 ts2930 \
	ts2931 ts2932 ts2933 ts2934 ts2935 ts2936 ts2937 ts2938 ts2939 ts2940 \
	ts2941 ts2942 ts2943 ts2944 ts2945 ts2946 ts2947 ts2948 ts2949 ts2950 \
	ts2951 ts2952 ts2953 ts2954 ts2955 ts2956 ts2957 ts2958 ts2959 ts2960 \
	ts2961 ts2962 ts2963 ts2964 ts2965 ts2966 ts2967 ts2968 ts2969 ts2970 \
	ts2971 ts2972 ts2973 ts2974 ts2975 ts2976 ts2977 ts2978 ts2979 ts2980 \
	ts2981 ts2982 ts2983 ts2984 ts2985 ts2986 ts2987 ts2988 ts2989 ts2990 \
	ts2991 ts2992 ts2993 ts2994 ts2995 ts2996 ts2997 ts2998 ts2999 ts3000

OUTFILES=ts2901.out ts2902.out ts2903.out ts2904.out ts2905.out ts2906.out ts2907.out ts2908.out ts2909.out ts2910.out \
	ts2911.out ts2912.out ts2913.out ts2914.out ts2915.out ts2916.out ts2917.out ts2918.out ts2919.out ts2920.out \
	ts2921.out ts2922.out ts2923.out ts2924.out ts2925.out ts2926.out ts2927.out ts2928.out ts2929.out ts2930.out \
	ts2931.out ts2932.out ts2933.out ts2934.out ts2935.out ts2936.out ts2937.out ts2938.out ts2939.out ts2940.out \
	ts2941.out ts2942.out ts2943.out ts2944.out ts2945.out ts2946.out ts2947.out ts2948.out ts2949.out ts2950.out \
	ts2951.out ts2952.out ts2953.out ts2954.out ts2955.out ts2956.out ts2957.out ts2958.out ts2959.out ts2960.out \
	ts2961.out ts2962.out ts2963.out ts2964.out ts2965.out ts2966.out ts2967.out ts2968.out ts2969.out ts2970.out \
	ts2971.out ts2972.out ts2973.out ts2974.out ts2975.out ts2976.out ts2977.out ts2978.out ts2979.out ts2980.out \
	ts2981.out ts2982.out ts2983.out ts2984.out ts2985.out ts2986.out ts2987.out ts2988.out ts2989.out ts2990.out \
	ts2991.out ts2992.out ts2993.out ts2994.out ts2995.out ts2996.out ts2997.out ts2998.out ts2999.out ts3000.out

all: $(EXFILES)

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

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

ts2901.out: ts2901
	ts2901 >ts2901.out


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

ts2902.out: ts2902
	ts2902 >ts2902.out


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

ts2903.out: ts2903
	ts2903 >ts2903.out


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

ts2904.out: ts2904
	ts2904 >ts2904.out


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

ts2905.out: ts2905
	ts2905 >ts2905.out


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

ts2906.out: ts2906
	ts2906 >ts2906.out


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

ts2907.out: ts2907
	ts2907 >ts2907.out


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

ts2908.out: ts2908
	ts2908 >ts2908.out


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

ts2909.out: ts2909
	ts2909 >ts2909.out


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

ts2910.out: ts2910
	ts2910 >ts2910.out


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

ts2911.out: ts2911
	ts2911 >ts2911.out


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

ts2912.out: ts2912
	ts2912 >ts2912.out


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

ts2913.out: ts2913
	ts2913 >ts2913.out


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

ts2914.out: ts2914
	ts2914 >ts2914.out


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

ts2915.out: ts2915
	ts2915 >ts2915.out


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

ts2916.out: ts2916
	ts2916 >ts2916.out


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

ts2917.out: ts2917
	ts2917 >ts2917.out


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

ts2918.out: ts2918
	ts2918 >ts2918.out


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

ts2919.out: ts2919
	ts2919 >ts2919.out


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

ts2920.out: ts2920
	ts2920 >ts2920.out


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

ts2921.out: ts2921
	ts2921 >ts2921.out


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

ts2922.out: ts2922
	ts2922 >ts2922.out


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

ts2923.out: ts2923
	ts2923 >ts2923.out


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

ts2924.out: ts2924
	ts2924 >ts2924.out


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

ts2925.out: ts2925
	ts2925 >ts2925.out


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

ts2926.out: ts2926
	ts2926 >ts2926.out


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

ts2927.out: ts2927
	ts2927 >ts2927.out


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

ts2928.out: ts2928
	ts2928 >ts2928.out


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

ts2929.out: ts2929
	ts2929 >ts2929.out


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

ts2930.out: ts2930
	ts2930 >ts2930.out


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

ts2931.out: ts2931
	ts2931 >ts2931.out


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

ts2932.out: ts2932
	ts2932 >ts2932.out


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

ts2933.out: ts2933
	ts2933 >ts2933.out


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

ts2934.out: ts2934
	ts2934 >ts2934.out


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

ts2935.out: ts2935
	ts2935 >ts2935.out


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

ts2936.out: ts2936
	ts2936 >ts2936.out


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

ts2937.out: ts2937
	ts2937 >ts2937.out


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

ts2938.out: ts2938
	ts2938 >ts2938.out


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

ts2939.out: ts2939
	ts2939 >ts2939.out


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

ts2940.out: ts2940
	ts2940 >ts2940.out


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

ts2941.out: ts2941
	ts2941 >ts2941.out


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

ts2942.out: ts2942
	ts2942 >ts2942.out


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

ts2943.out: ts2943
	ts2943 >ts2943.out


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

ts2944.out: ts2944
	ts2944 >ts2944.out


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

ts2945.out: ts2945
	ts2945 >ts2945.out


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

ts2946.out: ts2946
	ts2946 >ts2946.out


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

ts2947.out: ts2947
	ts2947 >ts2947.out


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

ts2948.out: ts2948
	ts2948 >ts2948.out


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

ts2949.out: ts2949
	ts2949 >ts2949.out


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

ts2950.out: ts2950
	ts2950 >ts2950.out


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

ts2951.out: ts2951
	ts2951 >ts2951.out


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

ts2952.out: ts2952
	ts2952 >ts2952.out


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

ts2953.out: ts2953
	ts2953 >ts2953.out


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

ts2954.out: ts2954
	ts2954 >ts2954.out


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

ts2955.out: ts2955
	ts2955 >ts2955.out


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

ts2956.out: ts2956
	ts2956 >ts2956.out


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

ts2957.out: ts2957
	ts2957 >ts2957.out


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

ts2958.out: ts2958
	ts2958 >ts2958.out


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

ts2959.out: ts2959
	ts2959 >ts2959.out


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

ts2960.out: ts2960
	ts2960 >ts2960.out


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

ts2961.out: ts2961
	ts2961 >ts2961.out


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

ts2962.out: ts2962
	ts2962 >ts2962.out


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

ts2963.out: ts2963
	ts2963 >ts2963.out


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

ts2964.out: ts2964
	ts2964 >ts2964.out


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

ts2965.out: ts2965
	ts2965 >ts2965.out


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

ts2966.out: ts2966
	ts2966 >ts2966.out


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

ts2967.out: ts2967
	ts2967 >ts2967.out


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

ts2968.out: ts2968
	ts2968 >ts2968.out


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

ts2969.out: ts2969
	ts2969 >ts2969.out


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

ts2970.out: ts2970
	ts2970 >ts2970.out


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

ts2971.out: ts2971
	ts2971 >ts2971.out


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

ts2972.out: ts2972
	ts2972 >ts2972.out


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

ts2973.out: ts2973
	ts2973 >ts2973.out


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

ts2974.out: ts2974
	ts2974 >ts2974.out


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

ts2975.out: ts2975
	ts2975 >ts2975.out


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

ts2976.out: ts2976
	ts2976 >ts2976.out


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

ts2977.out: ts2977
	ts2977 >ts2977.out


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

ts2978.out: ts2978
	ts2978 >ts2978.out


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

ts2979.out: ts2979
	ts2979 >ts2979.out


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

ts2980.out: ts2980
	ts2980 >ts2980.out


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

ts2981.out: ts2981
	ts2981 >ts2981.out


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

ts2982.out: ts2982
	ts2982 >ts2982.out


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

ts2983.out: ts2983
	ts2983 >ts2983.out


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

ts2984.out: ts2984
	ts2984 >ts2984.out


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

ts2985.out: ts2985
	ts2985 >ts2985.out


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

ts2986.out: ts2986
	ts2986 >ts2986.out


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

ts2987.out: ts2987
	ts2987 >ts2987.out


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

ts2988.out: ts2988
	ts2988 >ts2988.out


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

ts2989.out: ts2989
	ts2989 >ts2989.out


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

ts2990.out: ts2990
	ts2990 >ts2990.out


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

ts2991.out: ts2991
	ts2991 >ts2991.out


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

ts2992.out: ts2992
	ts2992 >ts2992.out


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

ts2993.out: ts2993
	ts2993 >ts2993.out


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

ts2994.out: ts2994
	ts2994 >ts2994.out


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

ts2995.out: ts2995
	ts2995 >ts2995.out


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

ts2996.out: ts2996
	ts2996 >ts2996.out


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

ts2997.out: ts2997
	ts2997 >ts2997.out


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

ts2998.out: ts2998
	ts2998 >ts2998.out


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

ts2999.out: ts2999
	ts2999 >ts2999.out


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

ts3000.out: ts3000
	ts3000 >ts3000.out



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

.SUFFIXES: .dgl
