996
|
1 CC=gcc
|
|
2 CXX=g++
|
|
3 JAVAC=javac
|
|
4 GCJ=gcj
|
|
5 CFLAGS=-O2 -g
|
|
6 CXXFLAGS=$(CFLAGS)
|
|
7 LDFLAGS=
|
|
8
|
|
9 # Put language interpreters required by non-compiled interpreters here. This
|
|
10 # simply cheks when you make that these are installed, which is nice for fresh
|
|
11 # installs of EgoBot, since otherwise these would only trigger an error when
|
|
12 # somebody tries to run the relevant interpreter.
|
|
13 CHECK_INSTALLED=\
|
|
14 /usr/bin/gforth \
|
|
15 /usr/bin/ghc \
|
|
16 /usr/bin/perl \
|
|
17 /usr/bin/python
|
|
18
|
|
19 all: \
|
|
20 1l/1l_a.bin \
|
|
21 2l/2li.bin \
|
|
22 adjust/adjust.bin \
|
|
23 axo/axopp.0.1.0.bin \
|
|
24 befunge/bef.bin \
|
|
25 bf_txtgen/textgen.class \
|
|
26 bfjoust/gearlance \
|
|
27 boof/boof \
|
|
28 cfunge/cfunge \
|
|
29 c-intercal/inst/bin/ick \
|
|
30 clc-intercal/inst/bin/sick \
|
|
31 egobch/src/egobchi \
|
|
32 egobf/src/egobfi32 \
|
|
33 fukyorbrane/fukyorbrane \
|
|
34 glass/glass \
|
|
35 glypho/Glypho.class \
|
|
36 kipple/cipple.bin \
|
|
37 lazyk/lazy \
|
|
38 malbolge/malbolge.bin \
|
|
39 rail/rail \
|
|
40 sadol/BDSM2 \
|
|
41 sceql/sceql-0.1.bin \
|
|
42 trigger/trigger.bin \
|
|
43 udage01/switch.bin \
|
|
44 underload/underload.bin \
|
|
45 unlambda/unlambda.bin \
|
|
46 installed_interpreters
|
|
47
|
|
48 installed_interpreters: $(CHECK_INSTALLED)
|
|
49
|
|
50 .SUFFIXES: .c .cc .cpp .bin
|
|
51
|
|
52 .c.bin:
|
|
53 $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
|
|
54
|
|
55 .cc.bin:
|
|
56 $(CXX) $(CXXFLAGS) $(LDFLAGS) $< -o $@
|
|
57
|
|
58 .cpp.bin:
|
|
59 $(CXX) $(CXXFLAGS) $(LDFLAGS) $< -o $@
|
|
60
|
|
61 bf_txtgen/textgen.class:
|
|
62 cd bf_txtgen ; \
|
|
63 $(JAVAC) textgen.java
|
|
64
|
|
65 bfjoust/gearlance:
|
|
66 cd bfjoust ; \
|
|
67 $(MAKE)
|
|
68
|
|
69 boof/boof:
|
|
70 cd boof ; \
|
|
71 $(MAKE)
|
|
72
|
|
73 cfunge/cfunge:
|
|
74 cd cfunge ; \
|
|
75 $(MAKE)
|
|
76
|
|
77 c-intercal/inst/bin/ick:
|
|
78 cd c-intercal ; \
|
|
79 ./configure --prefix="`pwd`/inst" ; \
|
|
80 $(MAKE) ; \
|
|
81 $(MAKE) install
|
|
82
|
|
83 clc-intercal/inst/bin/sick:
|
|
84 cd clc-intercal ; \
|
|
85 perl Makefile.PL INSTALL_BASE="`pwd`/inst" ; \
|
|
86 $(MAKE) ; \
|
|
87 $(MAKE) install
|
|
88
|
|
89 egobch/src/egobchi:
|
|
90 cd egobch ; \
|
|
91 ./configure ; \
|
|
92 $(MAKE)
|
|
93
|
|
94 egobf/src/egobfi32:
|
|
95 cd egobf ; \
|
|
96 ./configure ; \
|
|
97 $(MAKE)
|
|
98
|
|
99 fukyorbrane/fukyorbrane:
|
|
100 cd fukyorbrane ; \
|
|
101 $(MAKE)
|
|
102
|
|
103 glass/glass:
|
|
104 cd glass ; \
|
|
105 $(MAKE)
|
|
106
|
|
107 glypho/Glypho.class:
|
|
108 cd glypho ; \
|
|
109 $(JAVAC) *.java
|
|
110
|
|
111 rail/rail:
|
|
112 cd rail ; \
|
|
113 $(CXX) $(CXXFLAGS) $(LDFLAGS) src/*.cpp -o rail
|
|
114
|
|
115 rhotor/rhotor-hi:
|
|
116 cd rhotor ; \
|
|
117 ./build.sh
|
|
118
|
|
119 sadol/BDSM2:
|
|
120 cd sadol ; \
|
|
121 sh -x make.sh
|