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.am14
1 files changed, 14 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..77979daf
--- /dev/null
+++ b/ao-tools/ao-stmload/Makefile.am
@@ -0,0 +1,14 @@
+bin_PROGRAMS=ao-stmload
+
+LIBSTLINKDIR=/local/src/stlink
+
+AM_CFLAGS=-I$(LIBSTLINKDIR)/src $(LIBUSB_CFLAGS) -I../lib
+
+AO_STMLOAD_LIBS=$(LIBSTLINKDIR)/libstlink.a
+ao_stmload_DEPENDENCIES = $(AO_STMLOAD_LIBS)
+
+ao_stmload_LDADD=$(AO_STMLOAD_LIBS) $(LIBUSB_LIBS) -lelf
+
+ao_stmload_SOURCES=ao-stmload.c
+
+man_MANS = ao-stmload.1