mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 16:20:34 +08:00
Adapted to cmake
This commit is contained in:
@@ -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 :
|
||||
Reference in New Issue
Block a user