From a9ea529117b9d39164fb584c25cfcbeb13616fdd Mon Sep 17 00:00:00 2001 From: puppet_master Date: Wed, 6 Jul 2005 19:47:42 +0000 Subject: next version --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3