Updated the unit tests.

This commit is contained in:
skarg
2007-10-30 04:32:11 +00:00
parent cf5587c29d
commit 63e331a01c
7 changed files with 68 additions and 59 deletions
+9 -7
View File
@@ -1,13 +1,15 @@
#Makefile to build CRC tests
CC = gcc
BASEDIR = .
#CFLAGS = -Wall -I.
# -g for debugging with gdb
#CFLAGS = -Wall -I. -g
CFLAGS = -Wall -I. -Itest -DTEST -DTEST_CRC -g
#CFLAGS = -Wall -I. -Itest -DTEST -DTEST_CRC -DCRC_USE_TABLE -g
SRC_DIR = ../src
INCLUDES = -I../include -I. -I../demo/object
DEFINES = -DBIG_ENDIAN=0 -DTEST -DTEST_CRC
OBJS = crc.o test/ctest.o
CFLAGS = -Wall $(INCLUDES) $(DEFINES) -g
SRCS = $(SRC_DIR)/crc.c \
ctest.c
OBJS = ${SRCS:.c=.o}
TARGET = crc