Skip to content

Commit

Permalink
Merge pull request #179 from scdwyer/dev
Browse files Browse the repository at this point in the history
fixes Issue #175
  • Loading branch information
flixr committed Apr 16, 2012
2 parents ecb723b + dfd80b2 commit c0c5771
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conf/autopilot/subsystems/fixedwing/autopilot.makefile
Expand Up @@ -174,7 +174,7 @@ ap_srcs += $(SRC_FIRMWARE)/ap_downlink.c

UNAME = $(shell uname -s)
ifeq ("$(UNAME)","Darwin")
sim.CFLAGS += $(shell if test -d /opt/local/include; then echo "-I/opt/local/include"; elif test -d /opt/paparazzi/include; then echo "-I/opt/paparazzi/include"; fi)
sim.CFLAGS += $(shell if test -d /opt/paparazzi/include; then echo "-I/opt/paparazzi/include"; elif test -d /opt/local/include; then echo "-I/opt/local/include"; fi)
endif

sim.CFLAGS += $(CPPFLAGS)
Expand Down
4 changes: 2 additions & 2 deletions sw/ground_segment/lpc21iap/Makefile
Expand Up @@ -27,8 +27,8 @@ endif

UNAME = $(shell uname -s)
ifeq ("$(UNAME)","Darwin")
LIBRARYS = $(shell if test -d /opt/local/lib; then echo "-L/opt/local/lib"; elif test -d /opt/paparazzi/lib; then echo "-L/opt/paparazzi/lib"; fi)
INCLUDES = $(shell if test -d /opt/local/include; then echo "-I/opt/local/include"; elif test -d /opt/paparazzi/include; then echo "-I/opt/paparazzi/include"; fi)
LIBRARYS = $(shell if test -d /opt/paparazzi/lib; then echo "-L/opt/paparazzi/lib"; elif test -d /opt/local/lib; then echo "-L/opt/local/lib"; fi)
INCLUDES = $(shell if test -d /opt/paparazzi/include; then echo "-I/opt/paparazzi/include"; elif test -d /opt/local/include; then echo "-I/opt/local/include"; fi)
endif

CFLAGS = -Wall -g $(FPIC) $(INCLUDES) $(LIBRARYS)
Expand Down
4 changes: 2 additions & 2 deletions sw/ground_segment/misc/Makefile
@@ -1,8 +1,8 @@
UNAME = $(shell uname -s)

ifeq ("$(UNAME)","Darwin")
LIBRARYS = $(shell if test -d /opt/local/lib; then echo "-L/opt/local/lib"; elif test -d /opt/paparazzi/lib; then echo "-L/opt/paparazzi/lib"; fi)
INCLUDES = $(shell if test -d /opt/local/include; then echo "-I/opt/local/include"; elif test -d /opt/paparazzi/include; then echo "-I/opt/paparazzi/include"; fi)
LIBRARYS = $(shell if test -d /opt/paparazzi/lib; then echo "-L/opt/paparazzi/lib"; elif test -d /opt/local/lib; then echo "-L/opt/local/lib"; fi)
INCLUDES = $(shell if test -d /opt/paparazzi/include; then echo "-I/opt/paparazzi/include"; elif test -d /opt/local/include; then echo "-I/opt/local/include"; fi)
else
LIBRARYS = -s
endif
Expand Down

0 comments on commit c0c5771

Please sign in to comment.