blob: a58221e02b6726c920b03be48eeaff8e88367257 (
plain) (
tree)
|
|
SRC = upper.c
NAME = upper
CFLAGS += -W -Wall -g
LDFLAGS +=
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) *.swp
$(RM) $(OBJ)
$(RM) *.c~ *.h~
pdfclean:
$(RM) *.pdf
$(RM) *.ps
fclean: clean pdfclean
$(RM) $(NAME)
re: fclean $(NAME) clean
|