Updated unit test makefiles.

This commit is contained in:
skarg
2007-11-09 03:08:56 +00:00
parent d9c4429fd0
commit bd57da6b49
10 changed files with 143 additions and 133 deletions
+12 -12
View File
@@ -1,24 +1,24 @@
#Makefile to build test case
CC = gcc
BASEDIR = .
#CFLAGS = -Wall -I.
# -g for debugging with gdb
#CFLAGS = -Wall -I. -g
CFLAGS = -Wall -I. -Itest -DTEST -DBIG_ENDIAN=0 -DTEST_READ_PROPERTY -g
SRC_DIR = ../src
INCLUDES = -I../include -I.
DEFINES = -DBIG_ENDIAN=0 -DTEST -DTEST_READ_PROPERTY
SRCS = bacdcode.c \
bacint.c \
bacstr.c \
bigend.c \
rp.c \
test/ctest.c
CFLAGS = -Wall $(INCLUDES) $(DEFINES) -g
OBJS = ${SRCS:.c=.o}
SRCS = $(SRC_DIR)/bacdcode.c \
$(SRC_DIR)/bacint.c \
$(SRC_DIR)/bacstr.c \
$(SRC_DIR)/bacreal.c \
$(SRC_DIR)/rp.c \
ctest.c
TARGET = readproperty
all: ${TARGET}
OBJS = ${SRCS:.c=.o}
${TARGET}: ${OBJS}
${CC} -o $@ ${OBJS}