aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c532dd3..327ac2d 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,10 @@ CFLAGS=-std=gnu99 -Wall -O2
LD=gcc
LDFLAGS=-O2
-SOURCEDIRS=src
+SOURCEDIRS=src src/controllers
INCLUDEDIRS=\
- src/include\
+ src \
+ src/controllers \
ext/mavlink/include
SOURCES=$(foreach dir,$(SOURCEDIRS),$(wildcard $(dir)/*.c))
@@ -31,4 +32,4 @@ clean:
rm -f $$dir/*.o; \
done
rm -f $(TARGET)
- rm -f $(TARGET)-static \ No newline at end of file
+ rm -f $(TARGET)-static