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

DGLFILES=ts2401.dgl ts2402.dgl ts2403.dgl ts2404.dgl ts2405.dgl ts2406.dgl ts2407.dgl ts2408.dgl ts2409.dgl ts2410.dgl \
	ts2411.dgl ts2412.dgl ts2413.dgl ts2414.dgl ts2415.dgl ts2416.dgl ts2417.dgl ts2418.dgl ts2419.dgl ts2420.dgl \
	ts2421.dgl ts2422.dgl ts2423.dgl ts2424.dgl ts2425.dgl ts2426.dgl ts2427.dgl ts2428.dgl ts2429.dgl ts2430.dgl \
	ts2431.dgl ts2432.dgl ts2433.dgl ts2434.dgl ts2435.dgl ts2436.dgl ts2437.dgl ts2438.dgl ts2439.dgl ts2440.dgl \
	ts2441.dgl ts2442.dgl ts2443.dgl ts2444.dgl ts2445.dgl ts2446.dgl ts2447.dgl ts2448.dgl ts2449.dgl ts2450.dgl \
	ts2451.dgl ts2452.dgl ts2453.dgl ts2454.dgl ts2455.dgl ts2456.dgl ts2457.dgl ts2458.dgl ts2459.dgl ts2460.dgl \
	ts2461.dgl ts2462.dgl ts2463.dgl ts2464.dgl ts2465.dgl ts2466.dgl ts2467.dgl ts2468.dgl ts2469.dgl ts2470.dgl \
	ts2471.dgl ts2472.dgl ts2473.dgl ts2474.dgl ts2475.dgl ts2476.dgl ts2477.dgl ts2478.dgl ts2479.dgl ts2480.dgl \
	ts2481.dgl ts2482.dgl ts2483.dgl ts2484.dgl ts2485.dgl ts2486.dgl ts2487.dgl ts2488.dgl ts2489.dgl ts2490.dgl \
	ts2491.dgl ts2492.dgl ts2493.dgl ts2494.dgl ts2495.dgl ts2496.dgl ts2497.dgl ts2498.dgl ts2499.dgl ts2500.dgl

CFILES= ts2401.cpp ts2402.cpp ts2403.cpp ts2404.cpp ts2405.cpp ts2406.cpp ts2407.cpp ts2408.cpp ts2409.cpp ts2410.cpp \
	ts2411.cpp ts2412.cpp ts2413.cpp ts2414.cpp ts2415.cpp ts2416.cpp ts2417.cpp ts2418.cpp ts2419.cpp ts2420.cpp \
	ts2421.cpp ts2422.cpp ts2423.cpp ts2424.cpp ts2425.cpp ts2426.cpp ts2427.cpp ts2428.cpp ts2429.cpp ts2430.cpp \
	ts2431.cpp ts2432.cpp ts2433.cpp ts2434.cpp ts2435.cpp ts2436.cpp ts2437.cpp ts2438.cpp ts2439.cpp ts2440.cpp \
	ts2441.cpp ts2442.cpp ts2443.cpp ts2444.cpp ts2445.cpp ts2446.cpp ts2447.cpp ts2448.cpp ts2449.cpp ts2450.cpp \
	ts2451.cpp ts2452.cpp ts2453.cpp ts2454.cpp ts2455.cpp ts2456.cpp ts2457.cpp ts2458.cpp ts2459.cpp ts2460.cpp \
	ts2461.cpp ts2462.cpp ts2463.cpp ts2464.cpp ts2465.cpp ts2466.cpp ts2467.cpp ts2468.cpp ts2469.cpp ts2470.cpp \
	ts2471.cpp ts2472.cpp ts2473.cpp ts2474.cpp ts2475.cpp ts2476.cpp ts2477.cpp ts2478.cpp ts2479.cpp ts2480.cpp \
	ts2481.cpp ts2482.cpp ts2483.cpp ts2484.cpp ts2485.cpp ts2486.cpp ts2487.cpp ts2488.cpp ts2489.cpp ts2490.cpp \
	ts2491.cpp ts2492.cpp ts2493.cpp ts2494.cpp ts2495.cpp ts2496.cpp ts2497.cpp ts2498.cpp ts2499.cpp ts2500.cpp

RANDFILES=ts2401.rand ts2402.rand ts2403.rand ts2404.rand ts2405.rand ts2406.rand ts2407.rand ts2408.rand ts2409.rand ts2410.rand \
	ts2411.rand ts2412.rand ts2413.rand ts2414.rand ts2415.rand ts2416.rand ts2417.rand ts2418.rand ts2419.rand ts2420.rand \
	ts2421.rand ts2422.rand ts2423.rand ts2424.rand ts2425.rand ts2426.rand ts2427.rand ts2428.rand ts2429.rand ts2430.rand \
	ts2431.rand ts2432.rand ts2433.rand ts2434.rand ts2435.rand ts2436.rand ts2437.rand ts2438.rand ts2439.rand ts2440.rand \
	ts2441.rand ts2442.rand ts2443.rand ts2444.rand ts2445.rand ts2446.rand ts2447.rand ts2448.rand ts2449.rand ts2450.rand \
	ts2451.rand ts2452.rand ts2453.rand ts2454.rand ts2455.rand ts2456.rand ts2457.rand ts2458.rand ts2459.rand ts2460.rand \
	ts2461.rand ts2462.rand ts2463.rand ts2464.rand ts2465.rand ts2466.rand ts2467.rand ts2468.rand ts2469.rand ts2470.rand \
	ts2471.rand ts2472.rand ts2473.rand ts2474.rand ts2475.rand ts2476.rand ts2477.rand ts2478.rand ts2479.rand ts2480.rand \
	ts2481.rand ts2482.rand ts2483.rand ts2484.rand ts2485.rand ts2486.rand ts2487.rand ts2488.rand ts2489.rand ts2490.rand \
	ts2491.rand ts2492.rand ts2493.rand ts2494.rand ts2495.rand ts2496.rand ts2497.rand ts2498.rand ts2499.rand ts2500.rand

EXFILES=ts2401 ts2402 ts2403 ts2404 ts2405 ts2406 ts2407 ts2408 ts2409 ts2410 \
	ts2411 ts2412 ts2413 ts2414 ts2415 ts2416 ts2417 ts2418 ts2419 ts2420 \
	ts2421 ts2422 ts2423 ts2424 ts2425 ts2426 ts2427 ts2428 ts2429 ts2430 \
	ts2431 ts2432 ts2433 ts2434 ts2435 ts2436 ts2437 ts2438 ts2439 ts2440 \
	ts2441 ts2442 ts2443 ts2444 ts2445 ts2446 ts2447 ts2448 ts2449 ts2450 \
	ts2451 ts2452 ts2453 ts2454 ts2455 ts2456 ts2457 ts2458 ts2459 ts2460 \
	ts2461 ts2462 ts2463 ts2464 ts2465 ts2466 ts2467 ts2468 ts2469 ts2470 \
	ts2471 ts2472 ts2473 ts2474 ts2475 ts2476 ts2477 ts2478 ts2479 ts2480 \
	ts2481 ts2482 ts2483 ts2484 ts2485 ts2486 ts2487 ts2488 ts2489 ts2490 \
	ts2491 ts2492 ts2493 ts2494 ts2495 ts2496 ts2497 ts2498 ts2499 ts2500

OUTFILES=ts2401.out ts2402.out ts2403.out ts2404.out ts2405.out ts2406.out ts2407.out ts2408.out ts2409.out ts2410.out \
	ts2411.out ts2412.out ts2413.out ts2414.out ts2415.out ts2416.out ts2417.out ts2418.out ts2419.out ts2420.out \
	ts2421.out ts2422.out ts2423.out ts2424.out ts2425.out ts2426.out ts2427.out ts2428.out ts2429.out ts2430.out \
	ts2431.out ts2432.out ts2433.out ts2434.out ts2435.out ts2436.out ts2437.out ts2438.out ts2439.out ts2440.out \
	ts2441.out ts2442.out ts2443.out ts2444.out ts2445.out ts2446.out ts2447.out ts2448.out ts2449.out ts2450.out \
	ts2451.out ts2452.out ts2453.out ts2454.out ts2455.out ts2456.out ts2457.out ts2458.out ts2459.out ts2460.out \
	ts2461.out ts2462.out ts2463.out ts2464.out ts2465.out ts2466.out ts2467.out ts2468.out ts2469.out ts2470.out \
	ts2471.out ts2472.out ts2473.out ts2474.out ts2475.out ts2476.out ts2477.out ts2478.out ts2479.out ts2480.out \
	ts2481.out ts2482.out ts2483.out ts2484.out ts2485.out ts2486.out ts2487.out ts2488.out ts2489.out ts2490.out \
	ts2491.out ts2492.out ts2493.out ts2494.out ts2495.out ts2496.out ts2497.out ts2498.out ts2499.out ts2500.out

all: $(EXFILES)

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

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

ts2401.out: ts2401
	ts2401 >ts2401.out


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

ts2402.out: ts2402
	ts2402 >ts2402.out


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

ts2403.out: ts2403
	ts2403 >ts2403.out


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

ts2404.out: ts2404
	ts2404 >ts2404.out


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

ts2405.out: ts2405
	ts2405 >ts2405.out


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

ts2406.out: ts2406
	ts2406 >ts2406.out


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

ts2407.out: ts2407
	ts2407 >ts2407.out


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

ts2408.out: ts2408
	ts2408 >ts2408.out


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

ts2409.out: ts2409
	ts2409 >ts2409.out


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

ts2410.out: ts2410
	ts2410 >ts2410.out


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

ts2411.out: ts2411
	ts2411 >ts2411.out


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

ts2412.out: ts2412
	ts2412 >ts2412.out


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

ts2413.out: ts2413
	ts2413 >ts2413.out


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

ts2414.out: ts2414
	ts2414 >ts2414.out


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

ts2415.out: ts2415
	ts2415 >ts2415.out


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

ts2416.out: ts2416
	ts2416 >ts2416.out


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

ts2417.out: ts2417
	ts2417 >ts2417.out


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

ts2418.out: ts2418
	ts2418 >ts2418.out


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

ts2419.out: ts2419
	ts2419 >ts2419.out


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

ts2420.out: ts2420
	ts2420 >ts2420.out


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

ts2421.out: ts2421
	ts2421 >ts2421.out


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

ts2422.out: ts2422
	ts2422 >ts2422.out


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

ts2423.out: ts2423
	ts2423 >ts2423.out


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

ts2424.out: ts2424
	ts2424 >ts2424.out


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

ts2425.out: ts2425
	ts2425 >ts2425.out


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

ts2426.out: ts2426
	ts2426 >ts2426.out


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

ts2427.out: ts2427
	ts2427 >ts2427.out


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

ts2428.out: ts2428
	ts2428 >ts2428.out


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

ts2429.out: ts2429
	ts2429 >ts2429.out


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

ts2430.out: ts2430
	ts2430 >ts2430.out


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

ts2431.out: ts2431
	ts2431 >ts2431.out


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

ts2432.out: ts2432
	ts2432 >ts2432.out


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

ts2433.out: ts2433
	ts2433 >ts2433.out


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

ts2434.out: ts2434
	ts2434 >ts2434.out


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

ts2435.out: ts2435
	ts2435 >ts2435.out


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

ts2436.out: ts2436
	ts2436 >ts2436.out


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

ts2437.out: ts2437
	ts2437 >ts2437.out


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

ts2438.out: ts2438
	ts2438 >ts2438.out


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

ts2439.out: ts2439
	ts2439 >ts2439.out


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

ts2440.out: ts2440
	ts2440 >ts2440.out


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

ts2441.out: ts2441
	ts2441 >ts2441.out


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

ts2442.out: ts2442
	ts2442 >ts2442.out


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

ts2443.out: ts2443
	ts2443 >ts2443.out


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

ts2444.out: ts2444
	ts2444 >ts2444.out


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

ts2445.out: ts2445
	ts2445 >ts2445.out


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

ts2446.out: ts2446
	ts2446 >ts2446.out


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

ts2447.out: ts2447
	ts2447 >ts2447.out


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

ts2448.out: ts2448
	ts2448 >ts2448.out


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

ts2449.out: ts2449
	ts2449 >ts2449.out


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

ts2450.out: ts2450
	ts2450 >ts2450.out


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

ts2451.out: ts2451
	ts2451 >ts2451.out


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

ts2452.out: ts2452
	ts2452 >ts2452.out


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

ts2453.out: ts2453
	ts2453 >ts2453.out


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

ts2454.out: ts2454
	ts2454 >ts2454.out


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

ts2455.out: ts2455
	ts2455 >ts2455.out


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

ts2456.out: ts2456
	ts2456 >ts2456.out


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

ts2457.out: ts2457
	ts2457 >ts2457.out


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

ts2458.out: ts2458
	ts2458 >ts2458.out


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

ts2459.out: ts2459
	ts2459 >ts2459.out


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

ts2460.out: ts2460
	ts2460 >ts2460.out


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

ts2461.out: ts2461
	ts2461 >ts2461.out


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

ts2462.out: ts2462
	ts2462 >ts2462.out


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

ts2463.out: ts2463
	ts2463 >ts2463.out


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

ts2464.out: ts2464
	ts2464 >ts2464.out


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

ts2465.out: ts2465
	ts2465 >ts2465.out


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

ts2466.out: ts2466
	ts2466 >ts2466.out


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

ts2467.out: ts2467
	ts2467 >ts2467.out


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

ts2468.out: ts2468
	ts2468 >ts2468.out


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

ts2469.out: ts2469
	ts2469 >ts2469.out


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

ts2470.out: ts2470
	ts2470 >ts2470.out


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

ts2471.out: ts2471
	ts2471 >ts2471.out


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

ts2472.out: ts2472
	ts2472 >ts2472.out


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

ts2473.out: ts2473
	ts2473 >ts2473.out


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

ts2474.out: ts2474
	ts2474 >ts2474.out


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

ts2475.out: ts2475
	ts2475 >ts2475.out


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

ts2476.out: ts2476
	ts2476 >ts2476.out


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

ts2477.out: ts2477
	ts2477 >ts2477.out


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

ts2478.out: ts2478
	ts2478 >ts2478.out


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

ts2479.out: ts2479
	ts2479 >ts2479.out


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

ts2480.out: ts2480
	ts2480 >ts2480.out


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

ts2481.out: ts2481
	ts2481 >ts2481.out


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

ts2482.out: ts2482
	ts2482 >ts2482.out


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

ts2483.out: ts2483
	ts2483 >ts2483.out


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

ts2484.out: ts2484
	ts2484 >ts2484.out


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

ts2485.out: ts2485
	ts2485 >ts2485.out


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

ts2486.out: ts2486
	ts2486 >ts2486.out


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

ts2487.out: ts2487
	ts2487 >ts2487.out


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

ts2488.out: ts2488
	ts2488 >ts2488.out


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

ts2489.out: ts2489
	ts2489 >ts2489.out


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

ts2490.out: ts2490
	ts2490 >ts2490.out


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

ts2491.out: ts2491
	ts2491 >ts2491.out


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

ts2492.out: ts2492
	ts2492 >ts2492.out


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

ts2493.out: ts2493
	ts2493 >ts2493.out


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

ts2494.out: ts2494
	ts2494 >ts2494.out


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

ts2495.out: ts2495
	ts2495 >ts2495.out


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

ts2496.out: ts2496
	ts2496 >ts2496.out


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

ts2497.out: ts2497
	ts2497 >ts2497.out


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

ts2498.out: ts2498
	ts2498 >ts2498.out


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

ts2499.out: ts2499
	ts2499 >ts2499.out


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

ts2500.out: ts2500
	ts2500 >ts2500.out



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

.SUFFIXES: .dgl
