diff options
Diffstat (limited to 'myfind/is_newer/Makefile')
| -rw-r--r-- | myfind/is_newer/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/myfind/is_newer/Makefile b/myfind/is_newer/Makefile new file mode 100644 index 0000000..3787a95 --- /dev/null +++ b/myfind/is_newer/Makefile @@ -0,0 +1,15 @@ +CC = gcc +CFLAGS = -std=c99 -pedantic -Werror -Wall -Wextra -Wvla -D_DEFAULT_SOURCE + +SRC = is_newer.c +OBJ = $(SRC:.c=.o) + +is_newer: $(OBJ) + $(CC) $(OBJ) -o is_newer + +$(OBJ): $(SRC) + +.PHONY: clean + +clean : + $(RM) $(OBJ) is_newer |
