my-solutions/problems/223-rectangle-area/Makefile

15 lines
153 B
Makefile
Raw Normal View History

2022-11-17 16:56:24 +05:00
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