OPT1 = -lm
OPT2 = -HWBTRIS_Include.m=WBTRIS_Include.h -O ""

WBTRIS			: WBTRIS.o Gadgets.o Hiscore.o Logo.o Options.o\
	 	 	  Pause.o Statistic.o TilesNI.o Tiles.o Name.o
	dcc $(OPT1) -o WBTRIS  WBTRIS.o Gadgets.o Hiscore.o Logo.o Options.o\
			Pause.o Statistic.o TilesNI.o Tiles.o Name.o

WBTRIS.o		: WBTRIS.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c WBTRIS.o WBTRIS.c

Gadgets.o		: Gadgets.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c Gadgets.o Gadgets.c

Hiscore.o		: Hiscore.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c Hiscore.o Hiscore.c

Logo.o			: Logo.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c Logo.o Logo.c

Options.o		: Options.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c Options.o Options.c

Pause.o			: Pause.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c Pause.o Pause.c

Statistic.o		: Statistic.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c Statistic.o Statistic.c

TilesNI.o		: TilesNI.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c TilesNI.o TilesNI.c

Tiles.o			: Tiles.c WBTRIS.h WBTRIS_Include.h
	dcc $(OPT2) -c Tiles.o Tiles.c

Name.o         : Name.c WBTRIS.h
   dcc $(OPT2) -c Name.o Name.c
