blob: 49af11b0ed02ac135e7a4a52be0ffcc3ac5c3378 (
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_ls.c
OBJ = $(SRC:.c=.o)
all: $(OBJ)
$(CC) -o simple_ls $(OBJ)
$(OBJ): $(SRC)
.PHONY: clean
clean :
$(RM) $(OBJ) simple_ls
|