Makefile
2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#----------------------------------------------------------------------#
#-- Walkthru makefile -------------------------------------------------#
#----------------------------------------------------------------------#
#----------------------------------------------------------------------#
#-- General Definitions -----------------------------------------------#
#----------------------------------------------------------------------#
.SUFFIXES: .o .c .C
HW_OS = `/usr/local/bin/hw_os`
#FLAGS = -DDEBUG
#----------------------------------------------------------------------#
##-- Compiler Definitions ----------------------------------------------#
#----------------------------------------------------------------------#
#CC = /usr/softlab/contrib/bin/g++
CC = $(TOOLROOT)/usr/bin/CC
#CC = /usr/bin/CC
#CC = /usr/local/lib/CenterLine/bin/CC
CC_FLAGS = -g $(FLAGS)
#CC_FLAGS = -O $(FLAGS)
#----------------------------------------------------------------------#
#-- Include ----------------------------------------------------------#
#----------------------------------------------------------------------#
INCLUDE = -I.
#----------------------------------------------------------------------#
#-- Inference Rules ---------------------------------------------------#
#----------------------------------------------------------------------#
.C.o:
$(CC) -c $(CC_FLAGS) $*.C
default: test
all: test
#----------------------------------------------------------------------#
#-- test ---------------------------------------------------------#
#----------------------------------------------------------------------#
OBJS = dataBase.o \
bead.o \
fltReader.o \
fltWriter.o \
lsWriter.o \
lsReader.o \
image.o \
txtrWriter.o \
test.o
test: $(OBJS)
rm -f test
$(CC) -o test $(OBJS) -lm
#----------------------------------------------------------------------#
#-- Misc --------------------------------------------------------------#
#----------------------------------------------------------------------#
install: all
clean:
/bin/rm -rf ${OBJS}
clobber: clean
/bin/rm -rf test ${MKDEPFILE}
# End of makefile