diff options
author | puppet_master <puppet_master> | 2005-07-06 19:47:42 +0000 |
---|---|---|
committer | puppet_master <puppet_master> | 2005-07-06 19:47:42 +0000 |
commit | a9ea529117b9d39164fb584c25cfcbeb13616fdd (patch) | |
tree | 990796d6f1fbcda6ab688653f00c8c6260f3dbba /Makefile | |
parent | add epam.c from ebic dir (diff) | |
download | elock-a9ea529117b9d39164fb584c25cfcbeb13616fdd.tar.xz |
next version
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
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 |