about summary refs log tree commit diff
path: root/converter/other/fiasco/output/Makefile
blob: 26b6d924f193187498e0636b13886c9ef62b1090 (plain) (blame)
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
ifeq ($(SRCDIR)x,x)
  SRCDIR = $(CURDIR)/../../../..
  BUILDDIR = $(SRCDIR)
endif
FIASCOSUBDIR = converter/other/fiasco
SUBDIR = $(FIASCOSUBDIR)/output
VPATH=.:$(SRCDIR)/$(SUBDIR)

include $(BUILDDIR)/config.mk

OBJECTS =  matrices.o mc.o nd.o tree.o weights.o write.o

MERGE_OBJECTS = $(OBJECTS)

COMP_INCLUDES = \
  -I$(SRCDIR)/$(FIASCOSUBDIR) \
  -I$(SRCDIR)/$(FIASCOSUBDIR)/lib \
  -I$(SRCDIR)/$(FIASCOSUBDIR)/codec 

all: libfiasco_output.a

include $(SRCDIR)/common.mk

libfiasco_output.a: $(OBJECTS)
	$(AR) -rc $@ $(OBJECTS)
	$(RANLIB) $@