forked from grenaud/namedPipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (23 loc) · 854 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
31
32
33
34
35
36
CXX = g++
LIBGAB = /home/gabriel/lib/libgab/
CXXFLAGS = -Wall -lm -O3 -lz -I${LIBGAB} -I${LIBGAB}/gzstream/ -c
LDFLAGS = -lz
all: testFD pipeFD pipeFDcout pipeFDcoutcin
testFD.o: testFD.cpp
${CXX} ${CXXFLAGS} testFD.cpp
testFD: testFD.o ${LIBGAB}utils.o
${CXX} -o $@ $^ $(LDLIBS) $(LDFLAGS)
pipeFD.o: pipeFD.cpp
${CXX} ${CXXFLAGS} pipeFD.cpp
pipeFD: pipeFD.o ${LIBGAB}utils.o
${CXX} -o $@ $^ $(LDLIBS) $(LDFLAGS)
pipeFDcout.o: pipeFDcout.cpp
${CXX} ${CXXFLAGS} pipeFDcout.cpp
pipeFDcout: pipeFDcout.o ${LIBGAB}utils.o
${CXX} -o $@ $^ $(LDLIBS) $(LDFLAGS)
pipeFDcoutcin.o: pipeFDcoutcin.cpp
${CXX} ${CXXFLAGS} pipeFDcoutcin.cpp
pipeFDcoutcin: pipeFDcoutcin.o ${LIBGAB}utils.o
${CXX} -o $@ $^ $(LDLIBS) $(LDFLAGS)
clean :
rm -f testFD.o testFD pipeFD.o pipeFD pipeFDcout.o pipeFDcout pipeFDcoutcin.o pipeFDcoutcin