view interps/Makefile @ 12493:885661512b17 draft

<int-e> le//rn schwartzian//In 1987, Yogurt introduced a better way to rank Schwartz users: Rather than holding an annual tournament, users would take a series of standardized tests adminstered by official Schwartz centers, and would then be ranked according to the results. This lead to the Schwartzian transform because it allowed many more users to be ranked.
author HackEso <hackeso@esolangs.org>
date Fri, 12 Jan 2024 07:24:55 +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