mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-19 19:30:42 +00:00
build script comments & todos & cleanup
This commit is contained in:
parent
7ef9f10712
commit
ffd6294943
@ -38,6 +38,7 @@ CXXFLAGS = @CXXFLAGS@ $(SDL_CFLAGS)
|
|||||||
CPPFLAGS = @CPPFLAGS@ -I../include -I. -I../slirp
|
CPPFLAGS = @CPPFLAGS@ -I../include -I. -I../slirp
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
LDFLAGS = @LDFLAGS@ -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic
|
LDFLAGS = @LDFLAGS@ -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic
|
||||||
|
#TODO remove pthread part of that if irrelevant
|
||||||
LIBS = @LIBS@ -lws2_32 -lwsock32 -liphlpapi
|
LIBS = @LIBS@ -lws2_32 -lwsock32 -liphlpapi
|
||||||
CPUSRCS = @CPUSRCS@
|
CPUSRCS = @CPUSRCS@
|
||||||
PERL = @PERL@
|
PERL = @PERL@
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# A python 2.7 script to fetch all dependencies and build Sheepshaver using MSYS
|
# A python 2.7 script to fetch all dependencies and build Sheepshaver using MSYS / mingw
|
||||||
#
|
#
|
||||||
import argparse
|
import argparse
|
||||||
import glob
|
import glob
|
||||||
@ -12,9 +12,11 @@ import zipfile
|
|||||||
import sys
|
import sys
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
|
# TODO keep track of the values for these flags used for the previous compile and
|
||||||
|
# redo the macemu configures if they change
|
||||||
|
|
||||||
MACEMU_CFLAGS = "-mwin32"
|
MACEMU_CFLAGS = "-mwin32"
|
||||||
# TODO check if __STRICT_ANSI__ is still required since we switched to gnu++11
|
# TODO check if __STRICT_ANSI__ is still required since we switched to gnu++11
|
||||||
MACEMU_CXXFLAGS = "-mwin32 -std=gnu++11"
|
MACEMU_CXXFLAGS = "-mwin32 -std=gnu++11"
|
||||||
@ -563,7 +565,7 @@ def main():
|
|||||||
if num_threads > 1:
|
if num_threads > 1:
|
||||||
make_args.append("-j%d" % num_threads)
|
make_args.append("-j%d" % num_threads)
|
||||||
|
|
||||||
log("Install to %s" % options.install_to_dir)
|
log("Will install to %s" % options.install_to_dir)
|
||||||
install(make_args, options.show_build_environment, install_to_dir=options.install_to_dir)
|
install(make_args, options.show_build_environment, install_to_dir=options.install_to_dir)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user