1
2
3
4
5
6
7
8
APPNAME=hello_i_of_w
$(APPNAME): $(APPNAME).c
cc -g -Wall -Wextra $(APPNAME).c -o $(APPNAME) -pthread
.PHONY: clean
clean:
rm -f $(APPNAME)
1
2
3
4
5
6
7
8
APPNAME=hello_i_of_w
$(APPNAME): $(APPNAME).c
cc -g -Wall -Wextra $(APPNAME).c -o $(APPNAME) -pthread
.PHONY: clean
clean:
rm -f $(APPNAME)