qse/samples/sed/Makefile.am

36 lines
603 B
Makefile

AUTOMAKE_OPTIONS = nostdinc
AM_CPPFLAGS = \
-I$(top_builddir)/include \
-I$(top_srcdir)/include \
-I$(includedir)
AM_LDFLAGS = -L../../lib/cmn -L../../lib/sed
LDADD = -lqsesed -lqsecmn
if WIN32
LDADD += $(UNICOWS_LIBS)
endif
CMNFILES = sed00.c sed00.h
bin_PROGRAMS = sed01 sed02 sed03
sed01_SOURCES = sed01.c $(CMNFILES)
sed01_LDADD = $(LDADD)
sed02_SOURCES = sed02.c $(CMNFILES)
sed02_LDADD = $(LDADD)
sed03_SOURCES = sed03.c $(CMNFILES)
sed03_LDADD = $(LDADD)
if ENABLE_CXX
bin_PROGRAMS += sed21 sed22
sed21_SOURCES = sed21.cpp $(CMNFILES)
sed22_SOURCES = sed22.cpp $(CMNFILES)
endif