diff options
Diffstat (limited to 'homebrew/pc6001vx/.make.sh-auto')
-rw-r--r-- | homebrew/pc6001vx/.make.sh-auto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/pc6001vx/.make.sh-auto b/homebrew/pc6001vx/.make.sh-auto new file mode 100644 index 000000000..63e57df87 --- /dev/null +++ b/homebrew/pc6001vx/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +ENV.append_to_cflags "-I#{Formula["sdl2"].opt_include}" +ENV.append_to_cflags "-I#{Formula["ffmpeg"].opt_include}" +ENV.append_to_cflags "-Wno-reserved-user-defined-literal" +ENV.append_to_cflags "-stdlib=libc++" if ENV.compiler == :clang +qmake PREFIX=${PKG_TAPF} QMAKE_CXXFLAGS=${CXXFLAGS} CONFIG+=c++11 +make +prefix.install "PC6001VX.app" +bin.write_exec_script "#{prefix}/PC6001VX.app/Contents/MacOS/PC6001VX" |