blob: 2c7e891bd8f093f0c3692ffe017e6fdbdd685c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# This Makefile will work only with GNU make.
CFLAGS += $(OPTFLAGS) -O2 -fno-inline -Wall -Wstrict-prototypes -g
PROGRAMS = iscsi-iname
all: $(PROGRAMS)
iscsi-iname: md5.o iscsi-iname.o
$(CC) $(CFLAGS) $^ $(DBM_LIB) -o $@
clean:
rm -f *.o $(PROGRAMS) .depend
depend:
gcc $(CFLAGS) -M `ls *.c` > .depend
-include .depend
|