summaryrefslogtreecommitdiff
path: root/utils/hwstub/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub/tools/Makefile')
-rw-r--r--utils/hwstub/tools/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/hwstub/tools/Makefile b/utils/hwstub/tools/Makefile
index 15585bc097..6f1e3181e3 100644
--- a/utils/hwstub/tools/Makefile
+++ b/utils/hwstub/tools/Makefile
@@ -9,7 +9,7 @@ INCLUDES=-I$(HWSTUB_INCLUDE_DIR) -I$(REGTOOLS_INCLUDE_DIR) `pkg-config --cflags
9CFLAGS=-Wall -O2 -std=c99 -g $(INCLUDES) -D_XOPEN_SOURCE=600 9CFLAGS=-Wall -O2 -std=c99 -g $(INCLUDES) -D_XOPEN_SOURCE=600
10CXXFLAGS=-Wall -O2 -std=c++11 -g $(INCLUDES) 10CXXFLAGS=-Wall -O2 -std=c++11 -g $(INCLUDES)
11LDFLAGS=-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 11LDFLAGS=-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
12EXEC=hwstub_shell hwstub_load hwstub_server hwstub_test 12EXEC=hwstub_shell hwstub_load hwstub_server hwstub_test hwstub_dump
13SRC=$(wildcard *.c) 13SRC=$(wildcard *.c)
14SRCXX=$(wildcard *.cpp) 14SRCXX=$(wildcard *.cpp)
15OBJ=$(SRC:.c=.o) $(SRCXX:.cpp=.o) 15OBJ=$(SRC:.c=.o) $(SRCXX:.cpp=.o)
@@ -38,6 +38,9 @@ hwstub_shell: hwstub_shell.o prompt.o $(LIBS)
38hwstub_load: hwstub_load.o $(LIBS) 38hwstub_load: hwstub_load.o $(LIBS)
39 $(LD) -o $@ $^ $(LDFLAGS) 39 $(LD) -o $@ $^ $(LDFLAGS)
40 40
41hwstub_dump: hwstub_dump.o $(LIBS)
42 $(LD) -o $@ $^ $(LDFLAGS)
43
41hwstub_server: hwstub_server.o $(LIBS) 44hwstub_server: hwstub_server.o $(LIBS)
42 $(LD) -o $@ $^ $(LDFLAGS) 45 $(LD) -o $@ $^ $(LDFLAGS)
43 46