vgbc/Makeconf

30 lines
890 B
Text
Raw Normal View History

2023-09-01 09:18:32 +02:00
TARGETS := libemu.a vgbc vgbc.test vgbc.inspect
cmd_libemu.a = ar -rc $@ $^
verb_libemu.a = pack
modules_libemu.a := memory/device.o \
memory/bus.o \
memory/ram.o \
memory/bootrom_overlay.o \
memory/register.o \
memory/bank.o \
cpu/cpu.o \
cpu/decoder.o \
cartridge/mbc/mbc1.o \
2023-09-01 09:18:32 +02:00
cartridge/cartridge.o
modules_vgbc := main.o libemu.a
verb_vgbc := link
2023-09-09 14:45:47 +02:00
sources_vgbc.test := $(shell find tests/ -name '*.cpp')
objects_vgbc.test := $(patsubst %.cpp,%.o,$(sources_vgbc.test))
modules_vgbc.test := $(objects_vgbc.test) libemu.a
2023-09-01 09:18:32 +02:00
verb_vgbc.test := link
2023-09-09 14:45:47 +02:00
$(objects_vgbc.test): CXX_FLAGS+=-I $(CURDIR)/tests
2023-09-01 09:18:32 +02:00
modules_vgbc.inspect := cartridge/inspector.o libemu.a
verb_vgbc.inspect := link
2023-08-27 22:19:02 +02:00
2023-08-26 19:04:02 +02:00
CXX_FLAGS := -I $(CURDIR)