summaryrefslogtreecommitdiff
path: root/myfind/simple_stat/Makefile
blob: f38f031da5c361bc62a8239dcdb64660c7d87c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = gcc
CFLAGS = -std=c99 -pedantic -Werror -Wall -Wextra -Wvla

SRC = simple_stat.c
OBJ = $(SRC:.c=.o)

all: $(OBJ)
	$(CC) -o simple_stat $(OBJ)

$(OBJ): $(SRC)

.PHONY: clean

clean :
	$(RM) $(OBJ) simple_stat