view interps/fukyorbrane/Makefile @ 12316:563db84bb4f8 draft

<wib_jonas> fetch /hackenv/interps/egel/readme-hackeso.txt https://hack.esolangs.org/get/interps/egel/readme-hackeso.txt
author HackEso <hackeso@esolangs.org>
date Fri, 21 Feb 2020 11:59:21 +0000
parents 859f9b4339e6
children
line wrap: on
line source

CC=gcc
CFLAGS=-O2 -g
LDFLAGS=

FYB_OBJS=fukyorbrane.o
REPORT_OBJS=report.o
REPORT_LIBS=-pthread

.SUFFIXES: .c .o

all: fukyorbrane report

fukyorbrane: $(FYB_OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(FYB_OBJS) -o fukyorbrane

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

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

clean:
	rm -f $(FYB_OBJS) fukyorbrane
	rm -f $(REPORT_OBJS) report