borgware-2d/borg_hw/Makefile

62 lines
943 B
Makefile

TARGET = libborg_hw.a
TOPDIR = ..
SRC_SIM :=
include $(TOPDIR)/defaults.mk
ifeq ($(BORG_HW),HW_BORG_16)
SRC = borg_hw_borg16.c
endif
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
ifeq ($(BORG_HW),HW_BORG_MH)
SRC = borg_hw_borg_mh.c
endif
ifeq ($(BORG_HW),HW_BORG_MINI)
SRC = borg_hw_borg_mini.c
endif
ifeq ($(BORG_HW),HW_PANEL_ONE)
SRC = borg_hw_panel_one.c
endif
ifeq ($(BORG_HW),HW_PD1165)
SRC = borg_hw_pd1165.c
endif
ifeq ($(BORG_HW),HW_PINGPONG)
SRC = borg_hw_pingpong.c
endif
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 $(TOPDIR)/rules.mk