File: Makefile

package info (click to toggle)
lio-utils 3.1%2Bgit2.fd0b34fd-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 992 kB
  • sloc: ansic: 7,031; python: 3,039; perl: 885; sh: 414; makefile: 118
file content (15 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

ISCSI_NAME           = iscsi-name
ISCSI_NAME_SRCS      = iscsi_name.c md5.c
ISCSI_NAME_OBJS      = $(ISCSI_NAME_SRCS:.c=.o)

all:: $(ISCSI_NAME) 

$(ISCSI_NAME): $(ISCSI_NAME_OBJS)
	$(CC) -o $@ $(CFLAGS) $(ISCSI_NAME_OBJS) 

clean:
	rm -f $(ISCSI_NAME_OBJS) $(ISCSI_NAME) 

install:
	install -m 0755 $(ISCSI_NAME)     $(DESTDIR)/usr/sbin/iscsi-name