Skip to content

Commit

Permalink
Merge pull request #9 from Keziolio/patch-1
Browse files Browse the repository at this point in the history
Fix makefile for linux
  • Loading branch information
pavsa authored Apr 23, 2018
2 parents 2455667 + f0e2ce4 commit 7ccf7c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hackrf-sweep/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ OBJECTS = $(addsuffix .$(OBJECT_SUFFIX), $(addprefix $(BUILD_PATH)/, $(SOURC

CFLAGS = -DHACKRF_SWEEP_AS_LIBRARY -c -fPIC
LDFLAGS = -shared




CC = gcc
Expand Down Expand Up @@ -167,7 +167,7 @@ ifeq ($(IS_WIN),1)
cp -f $(DLL_LIB_FFTW) $(DLL_LIB_PTHREAD) $(DLL_LIB_USB) $(OUTPUT_DLL_DIR)
cp -f lib/zadig_2.2.exe $(OUTPUT_DLL_DIR)/../
else
echo '#!/bin/bash\nDIRECTORY=`dirname $$0`\njava -jar $$DIRECTORY/lib/hackrf_sweep_spectrum_analyzer.jar' > build/hackrf_sweep_spectrum_analyzer.sh
echo -e '#!/bin/bash\nDIRECTORY=`dirname $$0`\njava -jar $$DIRECTORY/lib/hackrf_sweep_spectrum_analyzer.jar' > build/hackrf_sweep_spectrum_analyzer.sh
chmod +x build/hackrf_sweep_spectrum_analyzer.sh
endif

Expand Down

0 comments on commit 7ccf7c1

Please sign in to comment.