-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
43 lines (33 loc) · 844 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
31
32
33
34
35
36
37
38
39
40
41
42
43
include config.mk
MD2AGUIDE = src/tools/md2amiga/md2aguide.py
.PHONY: clean all tests src examples help directories tutorial
all: directories src tests help examples tutorial
src:
cd src ; make all
tests:
cd tests ; make all
examples:
cd examples ; make all
help: README.md
$(MD2AGUIDE) README.md > README.utf
iconv -t "iso-8859-1" -f "UTF-8" README.utf -o README.guide
rm README.utf
cp README.guide $(DISTDIR)
cd help ; make all
tutorial:
cd tutorial ; make all
directories:
mkdir -p target/m68k-amigaos/bin
mkdir -p target/m68k-amigaos/obj
mkdir -p target/x86_64-linux/bin
mkdir -p target/x86_64-linux/obj
mkdir -p $(DISTDIR)/lib
mkdir -p $(DISTDIR)/libsrc
clean:
cd src ; make clean
cd tests ; make clean
cd examples ; make clean
cd help ; make clean
cd tutorial ; make clean
rm -rf target
rm -f README.guide