view interps/Makefile @ 11293:a7899ef2d7b6

<wob_jonas> learn Aristotle said that every illness can be cured by balancing the four vitreous humors, and everyone believed him for two thousand years, even though people still died of illnesses. It wasn\'t until the 20th century that Szent-Gy\xc3\xb6rgyi Albert realized that Aristotle didn\'t find fifth kind of vitreous humor, vitamin C, because the Greek alphabet
author HackBot
date Mon, 01 Jan 2018 17:57:43 +0000
parents 859f9b4339e6
children
line wrap: on
line source

CC=gcc
CXX=g++
JAVAC=javac
GCJ=gcj
CFLAGS=-O2 -g
CXXFLAGS=$(CFLAGS)
LDFLAGS=

# Put language interpreters required by non-compiled interpreters here. This
# simply cheks when you make that these are installed, which is nice for fresh
# installs of EgoBot, since otherwise these would only trigger an error when
# somebody tries to run the relevant interpreter.
CHECK_INSTALLED=\
	/usr/bin/gforth \
	/usr/bin/ghc \
	/usr/bin/perl \
	/usr/bin/python

all: \
    1l/1l_a.bin \
    2l/2li.bin \
    adjust/adjust.bin \
    axo/axopp.0.1.0.bin \
    befunge/bef.bin \
    bf_txtgen/textgen.class \
    bfjoust/gearlance \
    boof/boof \
    cfunge/cfunge \
    c-intercal/inst/bin/ick \
    clc-intercal/inst/bin/sick \
    egobch/src/egobchi \
    egobf/src/egobfi32 \
    fukyorbrane/fukyorbrane \
    glass/glass \
    glypho/Glypho.class \
    kipple/cipple.bin \
    lazyk/lazy \
    malbolge/malbolge.bin \
    rail/rail \
    sadol/BDSM2 \
    sceql/sceql-0.1.bin \
    trigger/trigger.bin \
    udage01/switch.bin \
    underload/underload.bin \
    unlambda/unlambda.bin \
    installed_interpreters

installed_interpreters: $(CHECK_INSTALLED)

.SUFFIXES: .c .cc .cpp .bin

.c.bin:
	$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@

.cc.bin:
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $< -o $@

.cpp.bin:
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $< -o $@

bf_txtgen/textgen.class:
	cd bf_txtgen ; \
	$(JAVAC) textgen.java

bfjoust/gearlance:
	cd bfjoust ; \
	$(MAKE)

boof/boof:
	cd boof ; \
	$(MAKE)

cfunge/cfunge:
	cd cfunge ; \
	$(MAKE)

c-intercal/inst/bin/ick:
	cd c-intercal ; \
	./configure --prefix="`pwd`/inst" ; \
	$(MAKE) ; \
	$(MAKE) install

clc-intercal/inst/bin/sick:
	cd clc-intercal ; \
	perl Makefile.PL INSTALL_BASE="`pwd`/inst" ; \
	$(MAKE) ; \
	$(MAKE) install

egobch/src/egobchi:
	cd egobch ; \
	./configure ; \
	$(MAKE)

egobf/src/egobfi32:
	cd egobf ; \
	./configure ; \
	$(MAKE)

fukyorbrane/fukyorbrane:
	cd fukyorbrane ; \
	$(MAKE)

glass/glass:
	cd glass ; \
	$(MAKE)

glypho/Glypho.class:
	cd glypho ; \
	$(JAVAC) *.java

rail/rail:
	cd rail ; \
	$(CXX) $(CXXFLAGS) $(LDFLAGS) src/*.cpp -o rail

rhotor/rhotor-hi:
	cd rhotor ; \
	./build.sh

sadol/BDSM2:
	cd sadol ; \
	sh -x make.sh