iscsi tools: fix iscsiadm return value on failed login
[open-iscsi.git] / utils / Makefile
blob2c7e891bd8f093f0c3692ffe017e6fdbdd685c37
1 # This Makefile will work only with GNU make.
3 CFLAGS += $(OPTFLAGS) -O2 -fno-inline -Wall -Wstrict-prototypes -g
4 PROGRAMS = iscsi-iname
6 all: $(PROGRAMS)
8 iscsi-iname: md5.o iscsi-iname.o
9 $(CC) $(CFLAGS) $^ $(DBM_LIB) -o $@
11 clean:
12 rm -f *.o $(PROGRAMS) .depend
14 depend:
15 gcc $(CFLAGS) -M `ls *.c` > .depend
17 -include .depend