tell emacs about makefiles and little cleanup

This commit is contained in:
Felix Ruess
2010-09-21 22:49:33 +00:00
parent d5049ff09f
commit df2c7308ab
4 changed files with 24 additions and 25 deletions
+2
View File
@@ -1,3 +1,5 @@
# Hey Emacs, this is a -*- makefile -*-
#
# Paparazzi main $Id$ # Paparazzi main $Id$
# Copyright (C) 2004 Pascal Brisset Antoine Drouin # Copyright (C) 2004 Pascal Brisset Antoine Drouin
# #
+1
View File
@@ -1,3 +1,4 @@
# Hey Emacs, this is a -*- makefile -*-
# #
# fixedwing.makefile # fixedwing.makefile
# #
+1 -2
View File
@@ -1,3 +1,4 @@
# Hey Emacs, this is a -*- makefile -*-
# #
# $Id$ # $Id$
# #
@@ -221,5 +222,3 @@ ap.srcs += $(SRC_BOOZ)/booz2_navigation.c
# or # or
# nothing # nothing
# #
+2 -5
View File
@@ -1,3 +1,4 @@
# Hey Emacs, this is a -*- makefile -*-
# #
# $Id$ # $Id$
# Copyright (C) 2003-2005 Pascal Brisset, Antoine Drouin # Copyright (C) 2003-2005 Pascal Brisset, Antoine Drouin
@@ -25,11 +26,7 @@ OBJDIR = $(PAPARAZZI_HOME)/var/$(AIRCRAFT)/$(TARGET)
VARINCLUDE=$(PAPARAZZI_HOME)/var/include VARINCLUDE=$(PAPARAZZI_HOME)/var/include
ACINCLUDE = $(PAPARAZZI_HOME)/var/$(AIRCRAFT) ACINCLUDE = $(PAPARAZZI_HOME)/var/$(AIRCRAFT)
# INCLUDES = -I $(PAPARAZZI_SRC)/sw/include -I $(PAPARAZZI_SRC)/sw/airborne -I $(PAPARAZZI_SRC)/conf/autopilot -I $(PAPARAZZI_SRC)/sw/airborne/$($(TARGET).ARCHDIR) -I $(VARINCLUDE) -I $(ACINCLUDE)
# WTF is that for ? VARINCLUDE=$(PAPARAZZI_HOME)/var/include and -I $(PAPARAZZI_SRC)/var/include in the line below ?
#
INCLUDES = -I $(PAPARAZZI_SRC)/sw/include -I $(PAPARAZZI_SRC)/var/include -I $(PAPARAZZI_SRC)/sw/airborne -I $(PAPARAZZI_SRC)/conf/autopilot -I $(PAPARAZZI_SRC)/sw/airborne/$($(TARGET).ARCHDIR) -I $(VARINCLUDE) -I $(ACINCLUDE)
SRC_ARCH = $(PAPARAZZI_SRC)/sw/airborne/$(ARCHDIR) SRC_ARCH = $(PAPARAZZI_SRC)/sw/airborne/$(ARCHDIR)