summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: b7bf0e533f2e474ccb37a5c8d3eda46650f1940d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CC     = gcc
CFLAGS = -g -ggdb -std=c99 -Wall -Werror

all: ipedec deinterlace

ipedec: ipedec.o
	$(CC) $(LDFLAGS) -o $@ $^

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

deinterlace: deinterlace.o
	$(CC) $(LDFLAGS) -o $@ $^

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

clean:
	rm -f ipedec ipedec.o deinterlace deinterlace.o

.PHONY: clean