about summary refs log tree commit diff
path: root/converter/other/fiasco/lib/Makefile
blob: 801fd24e918fc58bac1f10f22d0cf90d0357cd29 (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
28
29
30
31
32
33
ifeq ($(SRCDIR)x,x)
  SRCDIR = $(CURDIR)/../../../..
  BUILDDIR = $(SRCDIR)
endif
FIASCOSUBDIR = converter/other/fiasco
SUBDIR = $(FIASCOSUBDIR)/lib
VPATH=.:$(SRCDIR)/$(SUBDIR)

include $(BUILDDIR)/config.mk

OBJECTS = \
  arith.o \
  bit-io.o \
  dither.o \
  error.o \
  image.o \
  list.o \
  misc.o \
  rpf.o \
  mvcode.o \

MERGE_OBJECTS = $(OBJECTS)

COMP_INCLUDES = -I$(SRCDIR)/$(FIASCOSUBDIR)

all: libfiasco_lib.a

include $(SRCDIR)/common.mk

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