view interps/bfjoust/Makefile @ 12268:6bbbe2a95120 draft

<b_jonas> slashlearn euclid//Euclid is a short geeky game in which the goal is to do Euclidean compass and straightedge constructions in as few steps as possible. It runs in the browser, found at "http://www.euclidthegame.com/". It was popular among #esoteric regulars in 2016-07.
author HackEso <hackeso@esolangs.org>
date Mon, 16 Dec 2019 23:02:52 +0000
parents 859f9b4339e6
children
line wrap: on
line source

CC=gcc -std=gnu99
CFLAGS=-O2 -g
LDFLAGS=

EGOJOUST_OBJS=gearlance.o

REPORT_OBJS=report.o
REPORT_LIBS=-pthread

.SUFFIXES: .c .o

all: gearlance report

bfjoust: bfjoust.pl
	cp bfjoust.pl bfjoust

gearlance: $(EGOJOUST_OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(EGOJOUST_OBJS) -o gearlance

report: $(REPORT_OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(REPORT_OBJS) $(REPORT_LIBS) -o report

.c.o:
	$(CC) $(CFLAGS) -c $<

clean:
	rm -f bfjoust
	rm -f $(EGOJOUST_OBJS) gearlance
	rm -f $(REPORT_OBJS) report