Skip to content

Commit

Permalink
undo my changes to the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jan 23, 2022
1 parent 2046b15 commit 2c42989
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions examples_RPi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,9 @@ ifneq "${RPI}" "1"
RPI=$(shell cat /proc/cpuinfo | grep Hardware | grep -c BCM2709)
endif

pigpio_detected=0
ifneq ("$(wildcard "/usr/lib/libpigpio.so")", "")
pigpio_detected=1
endif

ifeq "$(RPI)" "1"
# The recommended compiler flags for the Raspberry Pi
CCFLAGS=-Ofast -mfpu=vfp -mfloat-abi=hard -march=$(ARCH) -mtune=arm1176jzf-s -std=c++0x -lpigpio
CCFLAGS=-Ofast -mfpu=vfp -mfloat-abi=hard -march=$(ARCH) -mtune=arm1176jzf-s -std=c++0x
endif

# define all programs
Expand Down

0 comments on commit 2c42989

Please sign in to comment.