Debian Codegraph @

apps/dcm_to_xml/Makefile

raw
1 # Makefile for dcm_to_xml
2
3 NAME = dcm_to_xml
4 OBJ = $(NAME).o
5 include $(DICOM_MAKE)
6
7 VPATH = ../../include:../include
8 CFLAGS = $(C_OPTS) -I$(DICOM_INCLUDE) -I../include
9 LFLAGS = -L$(DICOM_LIB) $(LIBPATH_DATABASE)
10 LIBS = $(LIBS_CTN_NODB)
11
12 application: $(NAME)
13
14 install: $(NAME)
15 $(INSTALL) $(NAME) $(DICOM_BIN)
16
17 install-clean: install
18 make clean
19
20 clean:
21 rm -rf $(NAME) *.o *.BAK *.bak *% core *~ debug
22
23 indent:
24 $(INDENT) $(NAME).c
25
26 checkin:
27 $(INDENT) $(NAME).c; $(CI) $(NAME).c
28 rm -rf $(NAME) *.o *.BAK *.bak *% core *~ debug
29
30 checkout:
31 $(CO) $(NAME).c
32
33 $(NAME): $(OBJ)
34 $(CC) -o $(NAME) -g $(LFLAGS) $(OBJ) $(LIBS) $(DEBUG_LIBS)
35
36 $(NAME).o: $(NAME).c dicom.h condition.h dicom_objects.h
37
38 lint:
39 flexelint $(LINTOPTIONS) $(NAME).c