This commit is contained in:
skarg
2005-03-23 18:45:08 +00:00
parent e68f8008d5
commit f2b6b5bc8b
3 changed files with 286 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#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 -DTEST_REJECT -g
SRCS = bacdcode.c \
bigend.c \
reject.c \
test/ctest.c
OBJS = ${SRCS:.c=.o}
TARGET = reject
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 core ${TARGET} $(OBJS) *.bak *.1 *.ini
include: .depend