Browse code

phonenum: Makefile rules to remove cpp object file

Daniel-Constantin Mierla authored on 20/12/2017 12:56:25
Showing 1 changed files
... ...
@@ -23,3 +23,10 @@ cphonenumber.o: cphonenumber.cpp cphonenumber.h
23 23
 	$(CXX) $(CXXFLAGS) $(CFLAGS) $(C_DEFS) $(DEFS) -c $< -o $@
24 24
 
25 25
 phonenum.so: cphonenumber.o
26
+
27
+modclean:
28
+	-@rm -f cphonenumber.o
29
+
30
+clean clean-modules: modclean
31
+
32
+proper realclean distclean maintainer-clean: modclean