make sure "S" is generated.
[AROS-Contrib.git] / rexx / makefile
blobc660d06f80a0dcc6ce3a4370dcf9be1210945328
1 # Top-level makefile for BREXX V2
3 # BREXX interpreter
4 # Version: 2.0
5 # Copyright (C) 1991-1999 Vassilis Vlachoudis (V.Vlachoudis@cern.ch)
7 # This interpreter is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 # To add a new configuration for your system add it to the list below
13 # then update the make_cnf file.
15 RXVERSION = brexx203
17 TARGETS = aix aix_debug \
18 alpha alpha_debug \
19 amiga \
20 dos32 \
21 gcc gcc_debug \
22 hpux hpux_debug \
23 hpux-gcc hpux-gcc_debug \
24 irix irix_debug \
25 linux linux_debug \
26 linux_noalign linux_noalign_debug \
27 test test_debug
29 default:
30 @echo "BREXX V2 makefile"
31 @echo "Type one of the following:"
32 @echo " make aix for IBM RS/6000 with AIX"
33 @echo " make alpha for Digital's Alpha"
34 @echo " make amiga for an AmigaOS application"
35 @echo " make bc for a Borland C++, DOS application"
36 @echo " make bc86 for a Borland C++, 8086 code"
37 @echo " make dos32 for a 32-bit DOS application"
38 @echo " make gcc for a generic system with GCC"
39 @echo " make hpux for HP systems with HPUX *"
40 @echo " make hpux-gcc for HP systems with HPUX using GCC"
41 @echo " make irix for SGI systems with IRIX"
42 @echo " make linux for Linux systems with GCC *"
43 @echo " make linux_noalign for Linux systems with GCC,"
44 @echo " make macintosh for a Mac application"
45 @echo " make mswindows for Microsoft Windows"
46 @echo " make test for testing/experimenting"
47 @echo " make tar to prepare a .tar.gz file"
48 @echo " make clean"
49 @echo "(*) USE THIS ONE!"
50 @echo "For a DEBUG version type one of the above with suffix _debug"
51 @echo "i.e.: make linux_debug"
53 $(TARGETS):
54 cd lstring ; $(MAKE) $@
55 cd src ; $(MAKE) $@
57 bc:
58 cd lstring
59 make -f makefile.bc
60 cd ../src
61 make -f makefile.bc
62 cd ..
64 bc_debug:
65 cd lstring
66 make -f makefile.bc -D__DEBUG__
67 cd ../src
68 make -f makefile.bc -D__DEBUG__
69 cd ..
71 bc86:
72 cd lstring
73 make -f makefile.bc -D__8086__
74 cd ../src
75 make -f makefile.bc -D__8086__
76 cd ..
78 macintosh:
79 @echo "See the README file for Macintosh intallation information"
81 mswindows:
82 @echo "See the windows/README.WIN for installation information"
84 # Remove .o files, instr.cnt and profile out files
85 clean:
86 rm -f lib/*.a
87 cd lstring ; $(MAKE) $@
88 cd src ; $(MAKE) $@
89 rm bin/rexx
91 tar:
92 touch $(RXVERSION).tgz
93 rm $(RXVERSION).tgz
94 cd .. ; \
95 tar -cvf $(RXVERSION).tar $(RXVERSION) ; \
96 gzip $(RXVERSION).tar ; \
97 mv $(RXVERSION).tar.gz brexx/$(RXVERSION).tgz