Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
archived/Makefile

30 lines
459 B
Makefile

#
# 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) $(DEFS) $(SOURCES) -o $(BUILD)/arch
clean :
rm -fr $(BUILD)