clean:
rm -f *.o aes_test problem2 problem3
+ latexmk -C
+ rm -f homework.out p2_output.txt p3_output.txt
.cpp.o:
$(CC) $(CFLAGS) -c -o $@ $<
run_p3: problem3
@./$<
-.PHONY: run all clean
+pdf: homework.tex problem2 problem3
+ ./problem2 < Problem2.in > p2_output.txt
+ ./problem3 > p3_output.txt
+ @rm -f homework.pdf
+ latexmk -pdf homework.tex
+
+.PHONY: run all clean pdf