We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d58809 commit 58f26e9Copy full SHA for 58f26e9
.gitignore
@@ -3,3 +3,7 @@
3
4
# Build output
5
build/
6
+heliage
7
+**/*.o
8
+
9
+**/memory.log
Makefile
@@ -0,0 +1,23 @@
1
+CXX = g++
2
+CXXFLAGS = -std=c++17 -Wall -Wextra
+LIBS = -lSDL2 -pthread
+OBJS = \
+ src/bootrom.o \
+ src/bus.o \
+ src/cartridge.o \
+ src/frontend/sdl.o \
+ src/gb.o \
10
+ src/joypad.o \
11
+ src/main.o \
12
+ src/ppu.o \
13
+ src/sm83.o \
14
+ src/timer.o
15
16
+%.o: %.cpp
17
+ $(CXX) -c -o $@ $< $(CXXFLAGS)
18
19
+heliage: $(OBJS)
20
+ $(CXX) -o $@ $^ $(LIBS)
21
22
+clean:
23
+ rm -r src/*.o heliage
0 commit comments