hawk/samples/Makefile.am

42 lines
937 B
Makefile
Raw Permalink Normal View History

AUTOMAKE_OPTIONS = nostdinc
2020-11-15 04:50:40 +00:00
CPPFLAGS_COMMON = \
-I$(abs_builddir) \
-I$(abs_builddir)/../lib \
-I$(abs_srcdir) \
-I$(abs_srcdir)/../lib \
2020-11-14 08:03:16 +00:00
-I$(includedir)
2020-11-15 04:50:40 +00:00
CFLAGS_COMMON =
CXXFLAGS_COMMON =
LDFLAGS_COMMON = -L$(abs_builddir)/../lib -L$(libdir)
LIBADD_COMMON = ../lib/libhawk.la
noinst_PROGRAMS =
if ENABLE_CXX
2022-06-09 05:33:46 +00:00
noinst_PROGRAMS += hawk02 hawk51 sed21
hawk02_SOURCES = hawk02.c
2020-11-15 04:50:40 +00:00
hawk02_CPPFLAGS = $(CPPFLAGS_COMMON)
hawk02_CFLAGS = $(CFLAGS_COMMON)
hawk02_LDFLAGS = $(LDFLAGS_COMMON)
2020-11-15 08:46:30 +00:00
hawk02_LDADD = $(LIBADD_COMMON) $(LIBM)
hawk51_SOURCES = hawk51.cpp
2020-11-15 04:50:40 +00:00
hawk51_CPPFLAGS = $(CPPFLAGS_COMMON)
hawk51_CFLAGS = $(CFLAGS_COMMON)
hawk51_CXXFLAGS = $(CXXFLAGS_COMMON)
hawk51_LDFLAGS = $(LDFLAGS_COMMON)
hawk51_LDADD = $(LIBADD_COMMON)
2022-06-09 05:33:46 +00:00
sed21_SOURCES = sed21.cpp
sed21_CPPFLAGS = $(CPPFLAGS_COMMON)
sed21_CFLAGS = $(CFLAGS_COMMON)
sed21_CXXFLAGS = $(CXXFLAGS_COMMON)
sed21_LDFLAGS = $(LDFLAGS_COMMON)
sed21_LDADD = $(LIBADD_COMMON)
endif