view interps/2l/Makefile @ 12296:042127c1c142 draft

<fizzie> ` rm /hackenv/bin/bfi; ln -s /hackenv/lib/kps/bfi /hackenv/bin/bfi # no need for actual copies that you can forget to delete though
author HackEso <hackeso@esolangs.org>
date Sat, 04 Jan 2020 13:28:36 +0000
parents 859f9b4339e6
children
line wrap: on
line source

CC=gcc
LD=gcc
CFLAGS=-O2 -Wall -Werror -g
LDFLAGS=-O2 -g

all: 2li 2lc

.SUFFIXES: .c .o

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

2li: 2li.o
	$(LD) $(LDFLAGS) 2li.o -o $@

2lc: 2lc.o
	$(LD) $(LDFLAGS) 2lc.o -o $@

clean: 
	rm -f *.o

veryclean: clean
	rm -f 2li 2lc