view interps/Makefile @ 9554:23f43464694e

<Zarutian> le/rn Frams\xc3\xb3knarflokkurinn/A, now defunct, political party in Iceland. Like its sister party Sj\xc3\xa1lfst\xc3\xa6\xc3\xb0isflokkurinn it is named by the antonym of what it is. (The name means the Progressive Party but they have nearly always been highly regressive). Think dumb Hill-Billies in ill fitting suits and you get their constiuents.
author HackBot
date Sun, 30 Oct 2016 14:33:24 +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