TARGET = libanimations.a
TOPDIR = ..

include $(TOPDIR)/defaults.mk

SRC = program.c

ifeq ($(ANIMATION_SNAKE),y)
  SRC += snake.c
endif

ifeq ($(ANIMATION_MATRIX),y)
  SRC += matrix.c
endif

ifeq ($(ANIMATION_STONEFLY),y)
  SRC += stonefly.c
endif

ifeq ($(ANIMATION_FLYINGDOTS),y)
  SRC += flyingdots.c
endif

ifeq ($(ANIMATION_GAMEOFLIFE),y)
  SRC += gameoflife.c
endif

ifeq ($(ANIMATION_MHERWEG),y)
  SRC += mherweg.c
endif

ifeq ($(ANIMATION_BREAKOUT),y)
  SRC += breakout_demo.c
endif

ifeq ($(ANIMATION_LTN_ANT),y)
  SRC += ltn_ant.c
endif

ifeq ($(ANIMATION_BMSCROLLER),y)
  SRC += bitmapscroller.c
endif

ifeq ($(ANIMATION_LABORLOGO),y)
  SRC += laborlogo.c
endif

ifeq ($(ANIMATION_AMPHIBIAN),y)
  SRC += amphibian.c
endif

ifeq ($(ANIMATION_LOGO_OOS),y)
  SRC += outofspec.c
endif

ifeq ($(ANIMATION_LOGO_28C3),y)
  SRC += 28c3.c
endif

ifneq (,$(filter y,$(ANIMATION_PLASMA) $(ANIMATION_PSYCHEDELIC)))
  SRC += fpmath_patterns.c
endif

ifeq ($(ANIMATION_TIME),y)
  SRC += borg_time.c
endif

include $(TOPDIR)/rules.mk