summaryrefslogtreecommitdiff
blob: 6a07dc1ee0a1775bb33602ecb64e9b144e7e4437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff --git a/Makefile b/Makefile
index 6a3aa95..a591a6f 100644
--- a/Makefile
+++ b/Makefile
@@ -7,3 +7,3 @@ CC = g++
 objfiles=bpatch.o archfunc.o file.o system.o tmpstore.o deltup.o 
-libs=-lstdc++ -lz -lbz2 -lcrypto #-lssl
+libs=-lz -lbz2 -lcrypto #-lssl
 
@@ -12,3 +12,3 @@ libs=-lstdc++ -lz -lbz2 -lcrypto #-lssl
 %.o : %.cpp
-	${CC} -c $< -o $@ ${CXXFLAGS} #-g #-Wall -pedantic
+	${CXX} -c $< -o $@ ${CXXFLAGS} #-g #-Wall -pedantic
 
@@ -17,6 +17,6 @@ all: deltup
 depend:
-	gcc -MM *.cpp > .depend
+	${CXX} -MM *.cpp > .depend
 	
 deltup: $(objfiles)
-	${CC} $(objfiles) ${LDFLAGS} -o deltup $(libs)
+	${CXX} $(objfiles) ${LDFLAGS} -o deltup $(libs)