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
+10 -12
View File
@@ -1,19 +1,17 @@
#Makefile to build test case
CC = gcc
BASEDIR = .
#CFLAGS = -Wall -I.
# -g for debugging with gdb
#CFLAGS = -Wall -I. -g
SRC_DIR = ../src
INCLUDES = -I../include -I. -I../ports/linux
DEFINES = -DBACDL_BIP -DBIG_ENDIAN=0 -DTEST -DTEST_BVLC
INCLUDES = -Iports/linux -Itest -I.
CFLAGS = -Wall $(INCLUDES) $(DEFINES) -g
SRCS = bacdcode.c \
bacint.c \
bacstr.c \
bigend.c \
bvlc.c \
test/ctest.c
CFLAGS = -Wall $(INCLUDES) $(DEFINES) -g
SRCS = $(SRC_DIR)/bacdcode.c \
$(SRC_DIR)/bacint.c \
$(SRC_DIR)/bacstr.c \
$(SRC_DIR)/bacreal.c \
$(SRC_DIR)/bvlc.c \
ctest.c
OBJS = ${SRCS:.c=.o}