Rename main.c to main.cpp
This commit is contained in:
parent
7d1d20becf
commit
52df4eae27
2 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -4,7 +4,7 @@ test-srcs := $(wildcard tests/*.cpp)
|
|||
|
||||
emu-objs := $(addsuffix .o,$(modules))
|
||||
test-objs := $(patsubst %.cpp,%.o,$(test-srcs))
|
||||
clean-objs := $(emu-objs) $(test-objs) libemu.a vgbc vgbc.test
|
||||
clean-objs := $(emu-objs) $(test-objs) libemu.a vgbc vgbc.test main.o
|
||||
|
||||
headers := $(wildcard */*.h)
|
||||
|
||||
|
@ -24,7 +24,7 @@ test: vgbc.test
|
|||
libemu.a: $(emu-objs)
|
||||
ar -rc $@ $^
|
||||
|
||||
vgbc: main.c libemu.a
|
||||
vgbc: main.o libemu.a
|
||||
g++ $(CXX_FLAGS) -o $@ $^
|
||||
|
||||
vgbc.test: $(test-objs) libemu.a
|
||||
|
|
Loading…
Reference in a new issue