From 7b77c59f82e7e6ab8f841255fe7b61ff0325be1f Mon Sep 17 00:00:00 2001
From: toole1 <toole1@6fbd10e7-183d-0410-a318-cb416676e4f2>
Date: Sat, 23 Jul 2011 08:34:23 +0000
Subject: [PATCH] jack

git-svn-id: https://subversion.cs.illinois.edu/svn/cs225@3385 6fbd10e7-183d-0410-a318-cb416676e4f2
---
 Makefile.proxy | 7 ++++---
 TODO.txt       | 1 +
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile.proxy b/Makefile.proxy
index 207f56d..de923a4 100644
--- a/Makefile.proxy
+++ b/Makefile.proxy
@@ -1,8 +1,9 @@
 CC = g++
 CFLAGS += -Wall
-TESTEXE = proxy
-TESTOBJS += $(TESTEXE).o util.o unit_tests.o monad_shared.o
-OPTIMIZE = off
+TESTEXE := proxy
+# This order is necessary for security. Always include student code last!
+TESTOBJS := $(TESTEXE).o util.o unit_tests.o monad_shared.o $(TESTOBJS)
+OPTIMIZE := off
 
 ifeq ($(strip $(OPTIMIZE)),on)
 CFLAGS += -O2 -DOPTIMIZE
diff --git a/TODO.txt b/TODO.txt
index 5a25e4f..44d55e1 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -57,6 +57,7 @@ Moderately important
    optimization
    replace ln -s util/* system() calls
    man isatty
+   mp1_newtests and lab02_newtests currently have 2 different ways of compiling 2 programs. this should be unified
 
 Doesn't really matter
 ---------------------
-- 
GitLab