view interps/fukyorbrane/Makefile @ 12267:7e5beba54694 draft

<b_jonas> slashlearn aoc//Advent of Code (AoC) is a series of programming puzzles that some regulars enjoy, found at "https://adventofcode.com/2019/about".
author HackEso <hackeso@esolangs.org>
date Mon, 16 Dec 2019 22:53:41 +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