-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
30 lines (21 loc) · 805 Bytes
/
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
CC=g++
CFLAGS=-std=c++0x -pthread
CFLAGSTATIC=-std=c++0x -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -static-libgcc -static-libstdc++ -static
all:gzstream.o Read.o Segmentation.o UrQt.cpp
$(CC) $(CFLAGS) gzstream.o Read.o Segmentation.o UrQt.cpp -lz -o UrQt
Segmentation.o: Segmentation.cpp
$(CC) $(CFLAGS) -c Segmentation.cpp
Read.o: Read.cpp
$(CC) $(CFLAGS) -c Read.cpp
gzstream.o:
$(CC) $(CFLAGS) -c gzstream.cpp
static:gzstream_static.o Read_static.o Segmentation_static.o UrQt.cpp
$(CC) $(CFLAGSTATIC) gzstream.o Read.o Segmentation.o UrQt.cpp -lz -o UrQt
Segmentation_static.o: Segmentation.cpp
$(CC) $(CFLAGSTATIC) -c Segmentation.cpp
Read_static.o: Read.cpp
$(CC) $(CFLAGSTATIC) -c Read.cpp
gzstream_static.o:
$(CC) $(CFLAGSTATIC) -c gzstream.cpp
clean:
rm -f *.o UrQt