We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d8e58 commit 57057a6Copy full SHA for 57057a6
emulator/Makefile
@@ -0,0 +1,25 @@
1
+SRCDIR += \
2
+ ./src \
3
+ ./src/Chipset \
4
+ ./src/Data \
5
+ ./src/Gui \
6
+ ./src/Gui/imgui \
7
+ ./src/Peripheral
8
+
9
+VPATH = $(SRCDIR)
10
11
+sources := $(sort $(shell find $(SRCDIR) -name \*.cpp))
12
+objects := $(patsubst %.cpp, obj/%.o, $(notdir $(sources)))
13
14
+_dummy := $(shell mkdir -p obj)
15
16
+all: $(objects)
17
+ g++ -L ./lib $(objects) -static-libgcc -static-libstdc++ -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -llua53 -lreadline -lhistory -ltermcap -o casioemu.exe
18
19
+obj/%.o: %.cpp
20
+ g++ -O2 -std=c++14 -Wall -Wextra -Werror -pedantic -I ./include -c $< -o $@
21
22
+.PHONY: clean
23
+clean:
24
+ rm -f obj/*
25
+ rm -f casioemu.exe
emulator/build.sh
0 commit comments