Initial revision

This commit is contained in:
skarg
2004-09-22 19:08:48 +00:00
parent f9c8dc61be
commit 9a9e31ace6
110 changed files with 6921 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#Makefile to build ringbuf tests
CC = gcc
BASEDIR = .
#CFLAGS = -Wall -I.
# -g for debugging with gdb
#CFLAGS = -Wall -I. -g
CFLAGS = -Wall -I. -Itest -DTEST -DTEST_RINGBUF -g
OBJS = ringbuf.o test/ctest.o
TARGET = ringbuf
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