aboutsummaryrefslogtreecommitdiffstats
path: root/7_1/Makefile
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2024-12-12 09:34:08 +0300
committerjustanothercatgirl <sotov@twistea.su>2024-12-12 09:34:08 +0300
commite9bbfdadb54d91379385f586f63e0f004bd79c50 (patch)
tree82ac46a3b00cfaeda44b5737667d927802d44cb8 /7_1/Makefile
parent7f1951a1ef8adca7fdd29fae185931b69b50e4d3 (diff)
Cleaned up 7_1
Diffstat (limited to '7_1/Makefile')
-rw-r--r--7_1/Makefile38
1 files changed, 21 insertions, 17 deletions
diff --git a/7_1/Makefile b/7_1/Makefile
index 80b3f39..f7aaf17 100644
--- a/7_1/Makefile
+++ b/7_1/Makefile
@@ -1,29 +1,33 @@
+CFLAGS += -std=c89
+
all: test
.PHONY: test clean
test: task7_1
- ./$< 69
- ./$< 429
- ./$< 828
- ./$< 425729
- ./$< 235723572579
- ./$< 000111222333
- ./$< 1048575
- ./$< 1048576
- ./$< -31273891273891273
- ./$< -000000000000000000
- ./$< -2313423
- ./$< -123
+ - ./$<
+ @./$< 69
+ @./$< 429
+ @./$< 828
+ @./$< 425729
+ @./$< 235723572579
+ @./$< 000111222333
+ @./$< 1048575
+ @./$< 1048576
+ @./$< -31273891273891273
+ @./$< -000000000000000000
+ @./$< -2313423
+ @./$< -123
- ./$< -9223372036854775809
- ./$< -9223372036854775807
+ @./$< -9223372036854775807
- ./$< -9223372036854775808
- ./$< -1048576
- ./$< -1048575
+ @./$< -1048576
+ @./$< -1048575
task7_1: main.c
- cc -o task7_1 main.c
-
+ $(CC) -o $@ $< $(CFLAGS)
+clean:
+ $(RM) task7_1