|
@@ -1,8 +1,10 @@
|
|
| 1 |
-
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
| 5 |
|
| 6 |
.PHONY: clean
|
| 7 |
clean:
|
| 8 |
-
rm -f
|
| 1 |
+
APPNAME=position_race
|
| 2 |
|
| 3 |
+
all: $(APPNAME)
|
| 4 |
+
|
| 5 |
+
%: %.c
|
| 6 |
+
cc -g -Wall -Wextra $^ -o $@ -pthread
|
| 7 |
|
| 8 |
.PHONY: clean
|
| 9 |
clean:
|
| 10 |
+
rm -f $(APPNAME) *.o
|