mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-21 22:29:23 +00:00
- B2_TOPDIR: new macro specifying where Basilisk II directory can be found.
Update "links" rule to take care of it and don't PREFIX with current path if B2_TOPDIR yields an absolute path. (Simply cosmetic so that I can have multiple SS work dirs, effortlessly ;-)
This commit is contained in:
parent
0b27de2c57
commit
def097803e
@ -11,6 +11,9 @@ TMPDIR := $(shell date +/tmp/build%m%s)
|
||||
DOCS := HISTORY LOG TODO
|
||||
SRCS := src
|
||||
|
||||
# Where Basilisk II directory can be found
|
||||
B2_TOPDIR := ../BasiliskII
|
||||
|
||||
default: help
|
||||
|
||||
help:
|
||||
@ -54,7 +57,8 @@ links:
|
||||
Unix/audio_oss_esd.cpp Unix/extfs_unix.cpp Unix/serial_unix.cpp \
|
||||
Unix/sys_unix.cpp Unix/timer_unix.cpp Unix/xpram_unix.cpp \
|
||||
Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver'; \
|
||||
PREFIX="`pwd`/"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \
|
||||
for i in $$list; do \
|
||||
echo $$i; \
|
||||
ln -sf `pwd`/../BasiliskII/src/$$i src/$$i; \
|
||||
ln -sf $${PREFIX}$(B2_TOPDIR)/src/$$i src/$$i; \
|
||||
done;
|
||||
|
Loading…
Reference in New Issue
Block a user