1 |
+ |
# $Id$ |
2 |
|
# MacOS X makefile for Basilisk II. Slightly based on the Unix one |
3 |
|
|
4 |
|
## System specific configuration |
23 |
|
GENEMUS = cpuemu1.cpp cpuemu2.cpp cpuemu3.cpp cpuemu4.cpp \ |
24 |
|
cpuemu5.cpp cpuemu6.cpp cpuemu7.cpp cpuemu8.cpp |
25 |
|
|
26 |
< |
# Symlinks to files in other directories |
27 |
< |
GENLINK = README.txt install-sh \ |
28 |
< |
config.guess config.sub sys_unix.cpp user_strings_unix.h |
26 |
> |
# Symlinks to, or copies of, files in other directories |
27 |
> |
GENLINK = README.txt INSTALL.txt install-sh \ |
28 |
> |
Darwin config.guess config.sub \ |
29 |
> |
sys_unix.cpp timer_unix.cpp user_strings_unix.h |
30 |
|
|
31 |
|
GEN = $(GENEMUS) $(GENSRCS) |
32 |
|
|
48 |
|
all: $(APP) |
49 |
|
|
50 |
|
ide: $(OBJ_DIR) $(GEN) $(SRCS) |
51 |
+ |
open BasiliskII.xcode |
52 |
+ |
|
53 |
+ |
oldide: $(OBJ_DIR) $(GEN) $(SRCS) |
54 |
|
open BasiliskII.pbproj |
55 |
|
|
56 |
|
test: $(APP) |
61 |
|
|
62 |
|
|
63 |
|
$(APP): $(OBJ_DIR) $(GEN) $(SRCS) |
64 |
< |
pbxbuild -buildstyle Deployment |
65 |
< |
# pbxbuild |
64 |
> |
xcodebuild -buildstyle Deployment \ |
65 |
> |
-project BasiliskII.xcode || rm -fr $(APP) |
66 |
> |
# pbxbuild -buildstyle Deployment || rm -fr $(APP) |
67 |
> |
# pbxbuild || rm -fr $(APP) |
68 |
|
|
69 |
|
BasiliskII.icns : |
70 |
|
touch $@ |
77 |
|
rm -f cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp |
78 |
|
|
79 |
|
distclean: clean |
80 |
< |
rm -fr $(OBJ_DIR) |
81 |
< |
rm -fr $(GENLINK) |
80 |
> |
rm -rf $(OBJ_DIR) |
81 |
> |
rm -rf autom4te.cache |
82 |
> |
rm -f Makefile |
83 |
|
rm -f config.cache config.log config.status config.h config.h.in |
84 |
+ |
rm -f Darwin/lowmem Darwin/pagezero |
85 |
+ |
rm -f $(GENLINK) |
86 |
|
rm -f configure |
87 |
< |
rm -f Makefile |
87 |
> |
rm -f .DS_Store |
88 |
|
|
89 |
|
|
90 |
|
|