summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9c9351d5b880aef63bfc047232b93119c73a479e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SRC = elock.c
NAME = elcok

CFLAGS += -W -Wall  
LDFLAGS += -lecore -lecore_config -lecore_con -lecore_evas 
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