summaryrefslogtreecommitdiff
path: root/ao-tools/ao-fakeflight/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ao-tools/ao-fakeflight/Makefile.am')
-rw-r--r--ao-tools/ao-fakeflight/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/ao-tools/ao-fakeflight/Makefile.am b/ao-tools/ao-fakeflight/Makefile.am
new file mode 100644
index 00000000..cf88795d
--- /dev/null
+++ b/ao-tools/ao-fakeflight/Makefile.am
@@ -0,0 +1,25 @@
+bin_PROGRAMS=ao-fakeflight
+
+AM_CFLAGS=-I$(top_srcdir)/ao-tools/lib $(LIBUSB_CFLAGS) -I$(top_srcdir)/src/drivers -O0 -g
+AO_POSTFLIGHT_LIBS=$(top_builddir)/ao-tools/lib/libao-tools.a
+
+ao_fakeflight_DEPENDENCIES = $(AO_POSTFLIGHT_LIBS)
+
+ao_fakeflight_LDADD=$(AO_POSTFLIGHT_LIBS)
+
+LIBS=-lm
+
+ao_fakeflight_SOURCES = \
+ ao-fakeflight.c \
+ ao-fakeflight.h \
+ ao-fake-convert.c \
+ ao-fake-log.c \
+ ao-physics.c \
+ ao-rocket.c
+
+clean-local:
+ $(RM) $(BUILT_SOURCES)
+
+ALTOS=$(top_srcdir)/src
+DRIVERS=$(ALTOS)/drivers
+KERNEL=$(ALTOS)/kernel