#ifndef XCOMM
#define XCOMM /**/#
#endif
XCOMM GENERIC X-BASED HEXTRIS
XCOMM
XCOMM	Imakefile
XCOMM
XCOMM ##
XCOMM
XCOMM Copyright (c) 1993 - 95	David A. Bagley, bagleyd@hertz.njit.edu
XCOMM
XCOMM Taken from GENERIC X-BASED TETRIS
XCOMM
XCOMM Copyright (c) 1992 - 95		Q. Alex Zhao, azhao@cc.gatech.edu
XCOMM
XCOMM			All Rights Reserved
XCOMM
XCOMM Permission to use, copy, modify, and distribute this software and
XCOMM its documentation for any purpose and without fee is hereby granted,
XCOMM provided that the above copyright notice appear in all copies and
XCOMM that both that copyright notice and this permission notice appear in
XCOMM supporting documentation, and that the name of the author not be
XCOMM used in advertising or publicity pertaining to distribution of the
XCOMM software without specific, written prior permission.
XCOMM
XCOMM This program is distributed in the hope that it will be "playable",
XCOMM but WITHOUT ANY WARRANTY; without even the implied warranty of
XCOMM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
XCOMM

SCOREFILE	= ./hextris.scores
POLYHEXFILE	= ./polyhex.dat

XCOMM Set "UP" to:
XCOMM	-DUP_REFLECT	if you want the Up Arrow key for reflection
XCOMM	-DUP_ROTATE	if you want the Up Arrow key for rotation (default)

UP		= -DUP_ROTATE

XCOMM Set "DOWN" to:
XCOMM	-DDOWN_ROTATE	if you want the Down Arrow key for rotation
XCOMM	-DDOWN_DROP	if you want the Down Arrow key for dropping (default)

DOWN		= -DDOWN_DROP

XCOMM Set your C compiler if necessary
XCOMM CC		= gcc -g -DDEBUG -Wall
XCOMM CC		= gcc -O

XCOMM #############################################################

DEFINES		= -I. -DSCOREFILE=\"${SCOREFILE}\"\
	-DPOLYHEXFILE=\"${POLYHEXFILE}\" ${UP} ${DOWN}
LOCAL_LIBRARIES	= ${XLIB}
SRCS		= rngs.c hextris.c playing.c utils.c
OBJS		= rngs.o hextris.o playing.o utils.o
PROGRAMS	= hextris

ComplexProgramTarget(${PROGRAMS})

hextris.o: hextris.c hextris.h
playing.o: playing.c hextris.h
utils.o: utils.c hextris.h

clean.all::	clean
	${RM} Makefile ${SCOREFILE}
