]> icculus.org git repositories - btb/d2x.git/blob - 2d/Makefile.am
moved includes to include
[btb/d2x.git] / 2d / Makefile.am
1 noinst_LIBRARIES = lib2d.a
2 INCLUDES = -I $(top_srcdir)/include
3
4 if USE_ASM
5 ASM_SRCS =
6 else
7 ASM_SRCS = tmerge.c
8 endif
9
10 lib2d_a_SOURCES = ${ASM_SRCS} \
11 2dsline.c  box.c     disc.c    ibitblt.c  pcx.c    rect.c   scalec.c \
12 bitblt.c   canvas.c  font.c    line.c     pixel.c  rle.c \
13 bitmap.c   circle.c  gpixel.c  palette.c  poly.c
14
15 SUFFIXES = .asm
16 %.o: %.asm
17         $(NASM) $(NASMFLAGS) $< -o $@
18
19 if USE_ASM
20 lib2d_a_LIBADD = linear.o tmerge_a.o
21 endif
22
23 EXTRA_DIST = \
24 linear.asm scalea.asm tmerge_a.asm \
25 bitmap.h clip.h linear.h scalea.h \
26 scale.c tmerge.c