Adapted to cmake

This commit is contained in:
carmix
2015-10-24 09:22:20 +02:00
parent 28316d8a44
commit 4cf0af1b3b
@@ -1,6 +1,6 @@
############################################################################
#
# Copyright (c) 2013 PX4 Development Team. All rights reserved.
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -30,13 +30,14 @@
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
#
# Makefile to build the Maxbotix Sonar driver.
#
MODULE_COMMAND = srf02
SRCS = srf02.cpp
MAXOPTIMIZATION = -Os
px4_add_module(
MODULE drivers__srf02
MAIN srf02
COMPILE_FLAGS
-Os
SRCS
srf02.cpp
DEPENDS
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :