mirror of https://github.com/xemu-project/xemu.git
15 lines
324 B
Makefile
15 lines
324 B
Makefile
.PHONY: all clean
|
|
all: example
|
|
|
|
tomlplusplus:
|
|
git clone https://github.com/marzer/tomlplusplus
|
|
|
|
config.h: config_spec.yml
|
|
python ../gen_config.py config_spec.yml config.h
|
|
|
|
example: main.cpp config.h tomlplusplus
|
|
g++ -o $@ -g -std=c++17 -Itomlplusplus/include -I.. main.cpp
|
|
|
|
clean:
|
|
rm -f config.h example config_out.toml
|