Makefile - symbolic link
This commit is contained in:
parent
e1489f65ba
commit
b7e708b5b7
2 changed files with 2 additions and 28 deletions
|
@ -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
1
problems/1-two-sum/Makefile
Symbolic link
|
@ -0,0 +1 @@
|
|||
../template/Makefile
|
|
@ -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/223-rectangle-area/Makefile
Symbolic link
1
problems/223-rectangle-area/Makefile
Symbolic link
|
@ -0,0 +1 @@
|
|||
../template/Makefile
|
Loading…
Reference in a new issue