aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: eacea17a57ebe9248abc6731ff82014ef085452c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: all clean

CC = clang
CFLAGS = -std=c90 -Weverything

all : ls pwd sort

ls : ls.c ls.h
	$(CC) $(CFLAGS) ls.c -o ls

pwd : pwd.c pwd.h
	$(CC) $(CFLAGS) pwd.c -o pwd

sort : sort.c sort.h
	$(CC) $(CFLAGS) sort.c -o sort

clean :
	rm -f -- *.o
	rm -f ls pwd sort