my-solutions/problems/template/Makefile
2022-11-17 17:11:40 +05:00

14 lines
153 B
Makefile

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