aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: db30da0ff9f06173ddd94dc4ce7a10c8d032cc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# you know it, baby
CC = gcc -O3 -funroll-loops -fomit-frame-pointer

# libsdl because i'm too cheap to do it myself
SDLFLAGS = `sdl-config --cflags`
SDLLIBS = `sdl-config --libs`

CFLAGS = -Wall -I. $(SDLFLAGS)
LDFLAGS = $(SDLLIBS)

OBJS = frequencies.o mixer.o videoinput.o sdloutput.o rtctimer.o videotools.o
OSDOBJS = ttfont.o osd.o

all: tvtime

tvtime: $(OBJS) tvtime.o
	gcc $(CFLAGS) -o $@ $^ $(LDFLAGS)

osdtest: $(OSDOBJS)

timingtest: $(OBJS) timingtest.o
	gcc $(CFLAGS) -o $@ $^ $(LDFLAGS)

clean: 
	rm -f *.o *.png tvtime

Privacy Policy