1default:
2	@echo "To compile ADAMEm, use one of the following:"
3	@echo " make svga  - Make the Linux/SVGALib version"
4	@echo " make x     - Make the Unix/X version"
5	@echo " make msdos - Make the MS-DOS version (DJGPP only)"
6	@echo " make linux - Build both the Linux/SVGALib and the Unix/X versions"
7	@echo "When compiling the SVGALib version, make sure you are logged in as root"
8	@echo "Please check Makefile.MSDOS, Makefile.SVGALib, Makefile.X and Z80.h"
9	@echo "before compiling ADAMEm"
10
11svga:
12	make -f Makefile.SVGALib
13
14x:
15	make -f Makefile.X
16
17msdos:
18	make -f Makefile.MSDOS
19
20clean:
21	rm -f *.o *~
22
23linux:
24	make clean
25	make x
26	mv adamem adamemx
27	rm -f cvemx
28	ln -s adamemx cvemx
29	mv keys keysx
30	make clean
31	make svga
32