From b7e708b5b7258b561fa2c303b4ea2083492a8fb8 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Thu, 17 Nov 2022 17:18:32 +0500 Subject: [PATCH] Makefile - symbolic link --- problems/1-two-sum/Makefile | 15 +-------------- problems/223-rectangle-area/Makefile | 15 +-------------- 2 files changed, 2 insertions(+), 28 deletions(-) mode change 100644 => 120000 problems/1-two-sum/Makefile mode change 100644 => 120000 problems/223-rectangle-area/Makefile diff --git a/problems/1-two-sum/Makefile b/problems/1-two-sum/Makefile deleted file mode 100644 index ab746c4..0000000 --- a/problems/1-two-sum/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -all: lib.o main.o - gcc -Wall -o bin lib.o main.o - -lib.o: lib.c - gcc -c -Wall lib.c - -main.o: main.c - gcc -c -Wall main.c - -run: - ./bin - -clean: - rm *.o bin diff --git a/problems/1-two-sum/Makefile b/problems/1-two-sum/Makefile new file mode 120000 index 0000000..25eaf27 --- /dev/null +++ b/problems/1-two-sum/Makefile @@ -0,0 +1 @@ +../template/Makefile \ No newline at end of file diff --git a/problems/223-rectangle-area/Makefile b/problems/223-rectangle-area/Makefile deleted file mode 100644 index ab746c4..0000000 --- a/problems/223-rectangle-area/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -all: lib.o main.o - gcc -Wall -o bin lib.o main.o - -lib.o: lib.c - gcc -c -Wall lib.c - -main.o: main.c - gcc -c -Wall main.c - -run: - ./bin - -clean: - rm *.o bin diff --git a/problems/223-rectangle-area/Makefile b/problems/223-rectangle-area/Makefile new file mode 120000 index 0000000..25eaf27 --- /dev/null +++ b/problems/223-rectangle-area/Makefile @@ -0,0 +1 @@ +../template/Makefile \ No newline at end of file