Makefile - Also clean test objs

This commit is contained in:
madmaurice 2023-08-29 23:22:20 +02:00
parent c2d5ca5cfc
commit 077f834c28

View file

@ -3,8 +3,9 @@ include Makeconf
test-srcs := $(wildcard tests/*.cpp) test-srcs := $(wildcard tests/*.cpp)
emu-objs := $(addsuffix .o,$(modules)) emu-objs := $(addsuffix .o,$(modules))
clean-objs := $(emu-objs) libemu.a vgbc vgbc.test
test-objs := $(patsubst %.cpp,%.o,$(test-srcs)) test-objs := $(patsubst %.cpp,%.o,$(test-srcs))
clean-objs := $(emu-objs) $(test-objs) libemu.a vgbc vgbc.test
headers := $(wildcard */*.h) headers := $(wildcard */*.h)
.PHONY: all test clean .PHONY: all test clean