Browse Source

Add a "make reset" target that just removes the files created by preprocessing

Ian Goldberg 2 years ago
parent
commit
ad884f63e1
1 changed files with 6 additions and 2 deletions
  1. 6 2
      Makefile

+ 6 - 2
Makefile

@@ -16,5 +16,9 @@ preproc.o: preproc.hpp mpcio.hpp types.hpp
 online.o: online.hpp mpcops.hpp coroutine.hpp
 mpcops.o: mpcops.hpp coroutine.hpp
 
-clean:
-	-rm -f $(BIN) $(OBJS) *.p[01].t*
+# Remove the files created by the preprocessing phase
+reset:
+	-rm -f *.p[01].t*
+
+clean: reset
+	-rm -f $(BIN) $(OBJS)