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