Line | |
---|
1 | #
|
---|
2 | # Makefile to generate RawDataCTX.so shared library
|
---|
3 | #
|
---|
4 | # Oliver Grimm, Mai 2009
|
---|
5 | #
|
---|
6 |
|
---|
7 | INCDIRS = -I../../drsdaq/
|
---|
8 |
|
---|
9 | CPPFLAGS = -fPIC -O3 -Wall -DOS_LINUX
|
---|
10 | LIBS = -lstdc++
|
---|
11 |
|
---|
12 | RawDataCTX.so: RawDataCTX.o
|
---|
13 | $(CC) -shared -Wl,-soname,RawDataCTX.so -o RawDataCTX.so RawDataCTX.o -lc
|
---|
14 |
|
---|
15 | RawDataCTX.o: ../../drsdaq/RawDataCTX.cc
|
---|
16 | $(CC) $(CPPFLAGS) $(INCDIRS) -c -o RawDataCTX.o ../../drsdaq/RawDataCTX.cc
|
---|
17 |
|
---|
18 | clean:
|
---|
19 | @rm -f *.so *.o *~
|
---|
Note:
See
TracBrowser
for help on using the repository browser.