Skip to content

Commit

Permalink
Fix makefile for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezii authored Apr 23, 2018
1 parent 2455667 commit f0e2ce4
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 f0e2ce4

Please sign in to comment.