aboutsummaryrefslogtreecommitdiff
path: root/old/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'old/Makefile')
-rw-r--r--old/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/old/Makefile b/old/Makefile
new file mode 100644
index 0000000..ac75b80
--- /dev/null
+++ b/old/Makefile
@@ -0,0 +1,23 @@
+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