Archived
1
0
Fork 0

Initial commit

This commit is contained in:
Henrik Hautakoski 2010-04-20 20:38:50 +02:00 committed by Henrik Hautakoski
commit fdfefe7d55
31 changed files with 3242 additions and 0 deletions

30
Makefile Normal file
View file

@ -0,0 +1,30 @@
#
# Archive Makefile
#
DEFS := -D__DEBUG__
LIBS := `mysql_config --libs`
CFLAGS := -Werror -g $(LIBS) $(DEFS)
CC := gcc
SOURCES := \
src/arch.c \
src/arch/mysql.c \
src/indexer.c \
src/common/path.c \
src/common/rbtree.c \
src/fs/notify_inotify.c \
src/fs/notify_event.c \
src/fs/tree.c
BUILD := ./build
all :
make me
me :
mkdir -p $(BUILD)
$(CC) $(CFLAGS) $(SOURCES) -o $(BUILD)/arch
clean :
rm -fr $(BUILD)