borgware-2d/src/borg_hw/Makefile

73 lines
1.1 KiB
Makefile
Raw Normal View History

MAKETOPDIR = ../..
TARGET = libborg_hw.a
2011-12-21 04:54:48 +00:00
SRC_SIM :=
2008-12-03 13:22:20 +00:00
include $(MAKETOPDIR)/defaults.mk
ifeq ($(BORG_HW),HW_BORG_16)
SRC = borg_hw_borg16.c
endif
2011-12-21 04:54:48 +00:00
ifeq ($(BORG_HW),HW_BORG_16_HGM)
SRC = borg_hw_borg16_hgmod.c
endif
ifeq ($(BORG_HW),HW_BORG_ANDRE)
SRC = borg_hw_andreborg.c
endif
ifeq ($(BORG_HW),HW_BORG_LS)
SRC = borg_hw_borg_ls.c
endif
2009-02-18 22:26:46 +00:00
ifeq ($(BORG_HW),HW_BORG_MH)
SRC = borg_hw_borg_mh.c
endif
ifeq ($(BORG_HW),HW_BORG_LSJO)
SRC = borg_hw_borg_lsjo.c
endif
ifeq ($(BORG_HW),HW_LEDBRETT)
SRC = borg_hw_ledbrett.c
endif
ifeq ($(BORG_HW),HW_BORG_MINI)
SRC = borg_hw_borg_mini.c
endif
2009-06-19 21:09:08 +00:00
ifeq ($(BORG_HW),HW_PANEL_ONE)
SRC = borg_hw_panel_one.c
endif
2009-07-09 15:39:51 +00:00
ifeq ($(BORG_HW),HW_PD1165)
SRC = borg_hw_pd1165.c
2009-07-09 13:37:11 +00:00
endif
ifeq ($(BORG_HW),HW_PINGPONG)
SRC = borg_hw_pingpong.c
endif
2011-05-08 20:58:56 +00:00
ifeq ($(BORG_HW),HW_ROTOR)
SRC = borg_hw_rotor.c
endif
ifeq ($(BORG_HW),HW_GIGABORG)
SRC = borg_hw_gigaborg.c
endif
ifeq ($(BORG_HW),HW_ANCIENTBORG)
SRC = borg_hw_ancient.c
endif
ifeq ($(SRC),'')
$(error no valid hardware driver selected )
endif
include $(MAKETOPDIR)/rules.mk
include $(MAKETOPDIR)/depend.mk