From e896312ac2aa89ded9aa1d3ff326d83be0b5bd46 Mon Sep 17 00:00:00 2001 From: Ross Wilson Date: Fri, 21 Oct 2016 18:48:21 +0700 Subject: [PATCH] Get PTR test working --- vimlac/Makefile | 5 +++-- vimlac/test_ptr.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vimlac/Makefile b/vimlac/Makefile index d6b5df6..0d3178f 100755 --- a/vimlac/Makefile +++ b/vimlac/Makefile @@ -14,8 +14,9 @@ test_cpu: test_cpu.c $(DEVFILES) Makefile vimlac: ${OFILES} Makefile gcc -o vimlac ${CFLAGS} ${OFILES} -test_ptr: test_ptr.c ptrptp.c Makefile - gcc -o test_ptr ${CFLAGS} ptrptp.c test_ptr.c +test_ptr: test_ptr.c ptrptp.c error.c Makefile + gcc -o test_ptr ${CFLAGS} error.c ptrptp.c test_ptr.c + ./test_ptr test_plist: test_plist.c $(DEVFILES) Makefile gcc -o test_plist ${CFLAGS} -lcunit $(DEVFILES) test_plist.c diff --git a/vimlac/test_ptr.c b/vimlac/test_ptr.c index dcacd2d..0fe29a8 100755 --- a/vimlac/test_ptr.c +++ b/vimlac/test_ptr.c @@ -3,7 +3,7 @@ */ #include "vimlac.h" -#include "ptr.h" +#include "ptrptp.h" #define TIMEOUT 5000