summaryrefslogtreecommitdiff
path: root/ao-tools/ao-stmload/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/ao-stmload/Makefile.am')
-rw-r--r--ao-tools/ao-stmload/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/ao-tools/ao-stmload/Makefile.am b/ao-tools/ao-stmload/Makefile.am
new file mode 100644
index 00000000..5aea7db4
--- /dev/null
+++ b/ao-tools/ao-stmload/Makefile.am
@@ -0,0 +1,15 @@
+if LIBSTLINK
+
+bin_PROGRAMS=ao-stmload
+
+LIBSTLINKDIR=/local/src/stlink
+
+AM_CFLAGS=$(LIBSTLINK_CFLAGS) $(LIBUSB_CFLAGS) -I../lib
+
+ao_stmload_LDADD=$(LIBSTLINK_LIBS) $(LIBUSB_LIBS) -lelf
+
+ao_stmload_SOURCES=ao-stmload.c
+
+man_MANS = ao-stmload.1
+
+endif