Updating unit tests.

This commit is contained in:
skarg
2007-10-30 14:08:59 +00:00
parent 63e331a01c
commit e51d11856d
10 changed files with 133 additions and 75 deletions
+9 -6
View File
@@ -1,15 +1,18 @@
#Makefile to build unit tests
CC = gcc
BASEDIR = .
CFLAGS = -Wall -I. -Itest -g -DTEST -DTEST_INDEX_TEXT
CC = gcc
SRC_DIR = ../src
INCLUDES = -I../include -I.
DEFINES = -DBIG_ENDIAN=0 -DTEST -DTEST_INDEX_TEXT
TARGET = indtext
CFLAGS = -Wall $(INCLUDES) $(DEFINES) -g
SRCS = indtext.c \
test/ctest.c
SRCS = $(SRC_DIR)/indtext.c \
ctest.c
OBJS = ${SRCS:.c=.o}
TARGET = indtext
all: ${TARGET}
${TARGET}: ${OBJS}