-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (27 loc) · 820 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SUBDIRS := common \
compiler \
link65 \
pictconv \
bas2tap filepack old2mfm opt65 tap2dsk Ym2Mym bin2txt \
FloppyBuilder MemMap TapTool DskTool header \
macrosplitter tap2cd xa
all install clean::
@for d in $(SUBDIRS); do \
$(MAKE) -C "$$d" $(MAKECMDGOALS) || exit $?; \
done
# copy OSDK files and fix some ugly casing with symlinks
install::
@echo "Installing OSDK files..."
cp -a Osdk/_final_/documentation $(OSDK)/
cp -a Osdk/_final_/include $(OSDK)/
cp -a Osdk/_final_/lib $(OSDK)/
cp -a Osdk/_final_/macro $(OSDK)/
cp -a Osdk/_final_/Roms $(OSDK)/
cp -a Osdk/_final_/sample $(OSDK)/
cp -a Osdk/_final_/TMP $(OSDK)/
cp -a Osdk/_final_/"read me.txt" $(OSDK)/
ln -sfn bin $(OSDK)/Bin
ln -sfn MACROS.H $(OSDK)/macro/macros.h
ln -sfn Roms $(OSDK)/roms
ln -sfn TMP $(OSDK)/tmp
# install ? extra