Makefile.am 432 Bytes
Newer Older
erikd's avatar
erikd committed
1 2 3 4
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = foreign

5
check_PROGRAMS = test
erikd's avatar
erikd committed
6

7
check: $(check_PROGRAMS)
8 9
	./test$(EXEEXT)

Ralph Giles's avatar
Ralph Giles committed
10 11
AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@

erikd's avatar
erikd committed
12
test_SOURCES = util.c util.h write_read.c write_read.h test.c
13
test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@ @VORBIS_LIBS@
erikd's avatar
erikd committed
14 15

debug:
16
	$(MAKE) check CFLAGS="@DEBUG@"
erikd's avatar
erikd committed
17 18

profile:
19
	$(MAKE) check CFLAGS="@PROFILE@"