blob: ac75b80b1357b096658315dc310970c911b35ae2 (
plain) (
tree)
|
|
SRC = ../src/espik.c ../src/espik_irc.c ../src/espik_config.c ../src/error.c ../src/espik_common_handler.c ../src/espik_net.c
NAME = espik
CFLAGS += -W -Wall -g
LDFLAGS += -lecore -lecore_config -lecore_con
OBJ = $(SRC:c=o)
RM = rm -f
CC = gcc
$(NAME): $(OBJ)
$(CC) -o $(NAME) $(CFLAGS) $(LDFLAGS) $(OBJ)
chmod u+x $(NAME)
cp $(NAME) ~/bin
clean:
$(RM) ../src/*.swp
$(RM) $(OBJ)
$(RM) ../src/*.c~ ../src/*.h~
fclean: clean
$(RM) $(NAME)
re: fclean $(NAME) clean
|