Statistics
| Branch: | Revision:

psnr-tools / Cutter / Makefile @ d3aac6e3

History | View | Annotate | Download (402 Bytes)

1 5b504d3f Csaba Kiraly
CFLAGS = -Wall
2
3
all: main
4
5
ifdef FFDIR
6
  IN=input-avs.o
7
  LDFLAGS = -L$(FFDIR)/libavdevice -L$(FFDIR)/libavformat -L$(FFDIR)/libavcodec -L$(FFDIR)/libavutil
8
  LDLIBS = -lavformat -lavcodec -lavutil
9
  LDLIBS += -lm -lz
10
  LDLIBS += -lbz2
11 d3aac6e3 luca
ifndef FFSRC
12
  FFSRC = $(FFDIR)
13
endif
14 5b504d3f Csaba Kiraly
else
15
  IN=input.o
16
endif
17
18
main: main.o $(IN) output.o lost.o
19
20 d3aac6e3 luca
input-avs.o: CPPFLAGS += -I$(FFSRC)
21 5b504d3f Csaba Kiraly
22
clean:
23
	rm -f main
24
	rm -f *.o