aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 1ddb25d6fa93f35cc4e2eb0d321c47252ef235f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DEBUG  ?= yes

CFLAGS  = -xc -ansi -Wall
ifeq '$(DEBUG)' 'yes'
CFLAGS += -g -O0
else
CFLAGS += -O3
endif

tl_example: tl_example.c tl.c
	gcc $(CFLAGS) $^ -I. -o $@

.PHONY: clean
clean:
	rm -f tl_example