aboutsummaryrefslogtreecommitdiff
path: root/testing/Makefile
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-11-12 10:21:43 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-11-12 10:21:43 +0000
commitd6e191ba93e7188a95b6b4fd73dbfa9157dda3ac (patch)
treeb7922738087442890c4593eda919fd9bd47ab78c /testing/Makefile
parent01a118fb35301362b2139eff62d1e33e9b634ac9 (diff)
downloadsg3_utils-d6e191ba93e7188a95b6b4fd73dbfa9157dda3ac.tar.gz
sg_scan(win32): expand limits for big arrays; rescan-scsi-bus: widen LUN 0 only scanning; add SG_LIB_WINDOWS_ERR
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@795 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing/Makefile')
-rw-r--r--testing/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/Makefile b/testing/Makefile
index 8c6e06af..9878c04e 100644
--- a/testing/Makefile
+++ b/testing/Makefile
@@ -14,7 +14,7 @@ LD = gcc
# LD = clang
EXECS = sg_iovec_tst sg_sense_test sg_queue_tst bsg_queue_tst sg_chk_asc \
- sg_tst_nvme sg_tst_ioctl tst_sg_lib
+ sg_tst_nvme sg_tst_ioctl tst_sg_lib sgs_dd
EXTRAS =
@@ -44,7 +44,9 @@ LDFLAGS =
LIBFILESOLD = ../lib/sg_lib.o ../lib/sg_lib_data.o ../lib/sg_io_linux.o
LIBFILESNEW = ../lib/sg_pt_linux_nvme.o ../lib/sg_lib.o ../lib/sg_lib_data.o \
- ../lib/sg_pt_linux.o ../lib/sg_pt_common.o ../lib/sg_cmds_basic.o
+ ../lib/sg_pt_linux.o ../lib/sg_io_linux.o \
+ ../lib/sg_pt_common.o ../lib/sg_cmds_basic.o \
+ ../lib/sg_cmds_basic2.o
all: $(EXECS)
@@ -85,6 +87,9 @@ sg_tst_nvme: sg_tst_nvme.o $(LIBFILESNEW)
tst_sg_lib: tst_sg_lib.o ../lib/sg_lib.o ../lib/sg_lib_data.o
$(LD) -o $@ $(LDFLAGS) $^
+sgs_dd: sgs_dd.o $(LIBFILESNEW)
+ $(LD) -o $@ $(LDFLAGS) -pthread $^
+
install: $(EXECS)
install -d $(INSTDIR)
for name in $^; \