Changed makefile name back to original.

This commit is contained in:
skarg
2007-10-18 11:23:39 +00:00
parent fe691b6947
commit 9f852a4d6c
+35
View File
@@ -0,0 +1,35 @@
#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
SRCS = bacdcode.c \
bacint.c \
bacstr.c \
bigend.c \
rp.c \
test/ctest.c
OBJS = ${SRCS:.c=.o}
TARGET = readproperty
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