Makefile - symbolic link

This commit is contained in:
Ivan R. 2022-11-17 17:18:32 +05:00
parent e1489f65ba
commit b7e708b5b7
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
2 changed files with 2 additions and 28 deletions

View file

@ -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

1
problems/1-two-sum/Makefile Symbolic link
View file

@ -0,0 +1 @@
../template/Makefile

View file

@ -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

View file

@ -0,0 +1 @@
../template/Makefile