view interps/bfjoust/Makefile @ 5983:e9e46956a506

<oerjan> mk wisdom/welcome.sv//Hej och v\xc3\xa4lkommen till den internationella knutpunkten f\xc3\xb6r esoterisk programmeringsspr\xc3\xa5ksdesign och -drifts\xc3\xa4ttning! F\xc3\xb6r mer information, se v\xc3\xa5r wiki: <http://esolangs.org/>. (F\xc3\xb6r den andra sortens esoterism, pr\xc3\xb6va #esoteric p\xc3\xa5 EFnet eller DALnet.)
author HackBot
date Mon, 14 Sep 2015 17:49:06 +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