2009-01-02 02:18:20 +00:00
|
|
|
TARGET =
|
|
|
|
TOPDIR = ../..
|
2008-12-03 05:40:16 +00:00
|
|
|
|
2009-01-02 02:18:20 +00:00
|
|
|
include $(TOPDIR)/defaults.mk
|
2008-12-03 05:40:16 +00:00
|
|
|
|
2010-04-01 03:11:59 +00:00
|
|
|
SRC = tetris_main.c piece.c playfield.c view.c input.c highscore.c
|
|
|
|
|
|
|
|
ifeq ($(GAME_TETRIS),y)
|
|
|
|
SRC += variant_std.c
|
|
|
|
endif
|
|
|
|
|
2009-12-27 02:11:58 +00:00
|
|
|
ifeq ($(GAME_BASTET),y)
|
2010-04-01 03:11:59 +00:00
|
|
|
SRC += variant_bastet.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(GAME_TETRIS_FP),y)
|
|
|
|
ifneq ($(GAME_TETRIS),y)
|
|
|
|
SRC += variant_std.c
|
|
|
|
endif
|
|
|
|
SRC += variant_fp.c
|
2009-12-27 02:11:58 +00:00
|
|
|
endif
|
2008-12-03 05:40:16 +00:00
|
|
|
|
2009-01-02 02:18:20 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|