15 lines
213 B
Makefile
15 lines
213 B
Makefile
|
binary.o: task4.o libstacks.a
|
||
|
gcc -o binary.o task4.o -L. -lstacks
|
||
|
|
||
|
task4.o: task4.c
|
||
|
gcc -c task4.c
|
||
|
|
||
|
libstacks.a: stacks.o
|
||
|
ar cr libstacks.a stacks.o
|
||
|
|
||
|
stacks.o: stacks.c
|
||
|
gcc -c stacks.c
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o *.a
|