summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpuppet_master <puppet_master>2005-07-06 19:47:42 +0000
committerpuppet_master <puppet_master>2005-07-06 19:47:42 +0000
commita9ea529117b9d39164fb584c25cfcbeb13616fdd (patch)
tree990796d6f1fbcda6ab688653f00c8c6260f3dbba /Makefile
parentadd epam.c from ebic dir (diff)
downloadelock-a9ea529117b9d39164fb584c25cfcbeb13616fdd.tar.xz
next version
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fb1d92a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+SRC = elock.c
+NAME = elock
+
+CFLAGS += -W -Wall
+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)
+
+clean:
+ $(RM) *.swp
+ $(RM) $(OBJ)
+ $(RM) *.c~ *.h~
+
+pdfclean:
+ $(RM) *.pdf
+ $(RM) *.ps
+
+fclean: clean pdfclean
+ $(RM) $(NAME)
+
+re: fclean $(NAME) clean