diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-10-22 15:55:33 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-10-22 15:55:33 +0200 |
commit | fed083cf06628b8912e3a355ad2c7c671e208ce3 (patch) | |
tree | 580954b44ce2f4e37d2a0c2965b280027f45488c /utils/hwstub/tools/Makefile | |
parent | 0b01ca69e073c3e140f6e819be62665ad6d513ae (diff) | |
download | rockbox-fed083cf06628b8912e3a355ad2c7c671e208ce3.tar.gz rockbox-fed083cf06628b8912e3a355ad2c7c671e208ce3.zip |
hwstub: fix compile and linking ordering
Change-Id: I0acd3db2f644f4521da715d4931315bdb7548eae
Diffstat (limited to 'utils/hwstub/tools/Makefile')
-rw-r--r-- | utils/hwstub/tools/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hwstub/tools/Makefile b/utils/hwstub/tools/Makefile index 079933ad25..95eb4b72d6 100644 --- a/utils/hwstub/tools/Makefile +++ b/utils/hwstub/tools/Makefile | |||
@@ -8,7 +8,7 @@ REGTOOLS_LIB_DIR=../../regtools/lib | |||
8 | INCLUDES=-I$(HWSTUB_INCLUDE_DIR) -I$(REGTOOLS_INCLUDE_DIR) `pkg-config --cflags lua5.2` `pkg-config --cflags libusb-1.0` | 8 | INCLUDES=-I$(HWSTUB_INCLUDE_DIR) -I$(REGTOOLS_INCLUDE_DIR) `pkg-config --cflags lua5.2` `pkg-config --cflags libusb-1.0` |
9 | CFLAGS=-Wall -O2 -std=c99 -g $(INCLUDES) -D_XOPEN_SOURCE=600 | 9 | CFLAGS=-Wall -O2 -std=c99 -g $(INCLUDES) -D_XOPEN_SOURCE=600 |
10 | CXXFLAGS=-Wall -O2 -std=c++11 -g $(INCLUDES) | 10 | CXXFLAGS=-Wall -O2 -std=c++11 -g $(INCLUDES) |
11 | LDFLAGS=`pkg-config --libs libusb-1.0` `pkg-config --libs lua5.2` -lreadline -L$(HWSTUB_LIB_DIR) -L$(REGTOOLS_LIB_DIR) -lsocdesc -lhwstub `xml2-config --libs` -pthread | 11 | LDFLAGS=-lhwstub `pkg-config --libs libusb-1.0` `pkg-config --libs lua5.2` -lreadline -L$(HWSTUB_LIB_DIR) -L$(REGTOOLS_LIB_DIR) -lsocdesc `xml2-config --libs` -pthread |
12 | EXEC=hwstub_shell hwstub_load hwstub_server hwstub_test | 12 | EXEC=hwstub_shell hwstub_load hwstub_server hwstub_test |
13 | SRC=$(wildcard *.c) | 13 | SRC=$(wildcard *.c) |
14 | SRCXX=$(wildcard *.cpp) | 14 | SRCXX=$(wildcard *.cpp) |