This commit was generated by cvs2svn to compensate for changes in r2,
[btb/d2x.git] / texmap / Makefile.am
1 noinst_LIBRARIES = libtexmap.a
2 INCLUDES = -I $(top_srcdir)/includes -DFL1_WITH_FLAT
3
4 libtexmap_a_SOURCES = ntmap.c tmapflat.c
5
6 if USE_ASM
7   SUFFIXES = .asm
8   %.o: %.asm
9         $(NASM) $(NASMFLAGS) $< -o $@
10   libtexmap_a_SOURCES += tmapppro.S tmap_ll.asm tmap_flt.asm tmap_lin.asm tmapfade.asm
11   libtexmap_a_LIBADD += tmapppro.o tmap_ll.o tmap_flt.o tmap_lin.o tmapfade.o
12   ntmap.c tmapflat.c: tmapppro.o tmap_ll.o tmap_flt.o tmap_lin.o tmapfade.o
13 else
14   libtexmap_a_SOURCES += scanline.c
15   libtexmap_a_LIBADD += scanline.o
16   ntmap.c tmapflat.c: scanline.o
17 endif