Got rid of all compiler warnings, for non-OpenGL on linux, anyway...
[btb/d2x.git] / 2d / Makefile.am
1 noinst_LIBRARIES = lib2d.a
2 INCLUDES = -I $(top_srcdir)/includes
3
4 lib2d_a_SOURCES = \
5 2dsline.c  box.c     disc.c    ibitblt.c  pcx.c    rect.c   scalec.c \
6 bitblt.c   canvas.c  font.c    line.c     pixel.c  rle.c    tmerge.c \
7 bitmap.c   circle.c  gpixel.c  palette.c  poly.c 
8
9 if USE_ASM
10   SUFFIXES = .asm
11   %.o: %.asm
12         $(NASM) $(NASMFLAGS) $< -o $@
13         
14   lib2d_a_SOURCES += linear.asm tmerge_a.asm
15   lib2d_a_LIBADD += linear.o tmerge_a.o
16   2dsline.c: linear.o tmerge_a.o
17 endif
18