Commit d295a638 authored by seb's avatar seb
Browse files

add in Makefile clean *.P


git-svn-id: https://scm.blissgarden.org/svn/lima/trunk@176 45c4679d-1946-429d-baad-37912b19538b
parent 79c65c15
......@@ -20,7 +20,7 @@ EspiaBase.o: Espia.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $<
clean:
rm -f *.o
rm -f *.o *.P
%.o : %.cpp
$(COMPILE.cpp) -MD $(CXXFLAGS) -o $@ $<
......
......@@ -17,7 +17,7 @@ FrelonBase.o: Frelon.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $<
clean:
rm -f *.o
rm -f *.o *.P
%.o : %.cpp
$(COMPILE.cpp) -MD $(CXXFLAGS) -o $@ $<
......
......@@ -29,7 +29,7 @@ testfrelonspectroscopy: testfrelonspectroscopy.o $(frelon-objs)
$(CXX) $(LDFLAGS) -o $@ $+ $(LDLIBS) ../../../control/src/Ct.o
clean:
rm -f *.o testfrelon testfreloninterface
rm -f *.o *.P testfrelon testfreloninterface
%.o : %.cpp
$(COMPILE.cpp) -MD $(CXXFLAGS) -o $@ $<
......
......@@ -11,7 +11,7 @@ Simu.o: $(simu-objs)
$(LD) -o $@ -r $+
clean:
rm -f Simu.o $(simu-objs)
rm -f Simu.o *.P $(simu-objs)
%.o : %.cpp
$(COMPILE.cpp) -MD $(CXXFLAGS) -o $@ $<
......
......@@ -31,6 +31,7 @@ clean:
rm -f $(test-objs) test *.edf
rm -f $(testsimulator-objs) testsimulator
rm -f $(testsimuhwinterface-objs) testsimuhwinterface
rm -f *.P
%.o : %.cpp
$(COMPILE.cpp) -MD $(CXXFLAGS) -o $@ $<
......
......@@ -12,7 +12,7 @@ Common.o: $(common-objs)
ld -o $@ -r $+
clean:
rm -f Common.o $(common-objs)
rm -f Common.o *.P $(common-objs)
%.o : %.cpp
......
......@@ -16,7 +16,7 @@ Hw.o: $(hw-objs)
ld -o $@ -r $+
clean:
rm -f Hw.o $(hw-objs)
rm -f Hw.o *.P $(hw-objs)
%.o : %.cpp
$(COMPILE.cpp) -MD $(CXXFLAGS) -o $@ $<
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment