-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
47 lines (36 loc) · 1.26 KB
/
Makefile
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
SOURCES=\
dbOASISDumper.cc \
dbGDS2Dumper.cc \
tlStream.cc \
tlVariant.cc \
tlException.cc \
tlString.cc \
tlDeflate.cc \
tlAssert.cc \
CCDEFINES=
CCFLAGS=-O3
LDFLAGS=-lstdc++ -lz
all: dump_oas dump_gds2
%.o: %.cc
gcc -o $@ -c $< $(CCDEFINES) $(CCFLAGS)
dump_oas: dump_oas.o $(SOURCES:%.cc=%.o)
g++ -o $@ $^ $(LDFLAGS)
dump_gds2: dump_gds2.o $(SOURCES:%.cc=%.o)
g++ -o $@ $^ $(LDFLAGS)
clean:
rm -f *.o dump_oas dump_gds2
depend:
makedepend -- -Y $(CCDEFINES) -- $(SOURCES) 2>/dev/null
# DO NOT DELETE
dbOASISDumper.o: dbOASISDumper.h tlException.h config.h tlVariant.h
dbOASISDumper.o: tlAssert.h tlStream.h tlString.h dbTypes.h dbPoint.h
dbGDS2Dumper.o: dbGDS2Dumper.h tlException.h config.h tlVariant.h tlAssert.h
dbGDS2Dumper.o: tlStream.h tlString.h dbTypes.h dbPoint.h
tlStream.o: tlStream.h config.h tlException.h tlVariant.h tlAssert.h
tlStream.o: tlString.h tlDeflate.h
tlVariant.o: tlVariant.h config.h tlAssert.h tlString.h tlException.h
tlException.o: tlException.h config.h tlVariant.h tlAssert.h tlString.h
tlString.o: tlString.h config.h tlException.h tlVariant.h tlAssert.h
tlDeflate.o: tlDeflate.h config.h tlStream.h tlException.h tlVariant.h
tlDeflate.o: tlAssert.h tlString.h
tlAssert.o: tlAssert.h config.h tlException.h tlVariant.h