Moved bacdcode files into src subdirectory in preperation for breakout of functions for a lean library.

This commit is contained in:
skarg
2007-10-13 22:39:11 +00:00
parent 9881a1bb90
commit eb8f959c73
8 changed files with 8 additions and 8 deletions
-31
View File
@@ -1,31 +0,0 @@
#Makefile to build unit tests
CC = gcc
BASEDIR = .
DEFINES = -DBIG_ENDIAN=0 -DTEST -DTEST_DECODE
CFLAGS = -Wall -Iinclude -Itest -g $(DEFINES)
TARGET = bacdcode
SRCS = src/bacdcode.c \
src/bacint.c \
src/bacstr.c \
test/ctest.c
OBJS = ${SRCS:.c=.o}
all: ${TARGET}
${TARGET}: ${OBJS}
${CC} -o $@ ${OBJS}
.c.o:
${CC} -c ${CFLAGS} $*.c -o $@
depend:
rm -f .depend
${CC} -MM ${CFLAGS} *.c >> .depend
clean:
rm -rf ${OBJS} ${TARGET}
include: .depend