X-Git-Url: https://www.irasnyder.com/gitweb/?p=aes.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=61aff61e835df26cbe00566afe0995c8db6da414;hp=7e77240e387dbe0173d94438380fa72acd966235;hb=32b64c22ce1b63a4e80ef12097b7ff0c413f3b73;hpb=bde78677de357f04fd8bb6eac29a51433aa8a616 diff --git a/Makefile b/Makefile index 7e77240..61aff61 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ problem3: aes.o problem3.o 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 $@ $< @@ -26,4 +28,10 @@ run_p2: problem2 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