computing-systems-212 / Make & GDB Demo / task-notes / task1-notes.txt
task1-notes.txt
Raw
valentinojaber➜CPEN212/make-gdb-demo-valentino-jaber/files(main✗)» ls                         [17:01:35]
bigfib.c  buf.c     fibasm.s  fibc.c    smolfib.s
----------------------------------------------------------------------------------

valentinojaber➜CPEN212/make-gdb-demo-valentino-jaber/files(main✗)» cat makefile               [17:17:48]
task1step1: bigfib.c fibc.c buf.c
	gcc -o bigfib bigfib.c fibc.c buf.c -I.

valentinojaber➜CPEN212/make-gdb-demo-valentino-jaber/files(main✗)» make                       [17:17:58]
gcc -o bigfib bigfib.c fibc.c buf.c -I.

valentinojaber➜CPEN212/make-gdb-demo-valentino-jaber/files(main✗)» ls                         [17:18:06]
bigfib    bigfib.c  buf.c     fibasm.s  fibc.c    makefile  smolfib.s

valentinojaber➜CPEN212/make-gdb-demo-valentino-jaber/files(main✗)» ./bigfib                   [17:18:45]
enter a number: 6
Fibonacci number #6 is 8
----------------------------------------------------------------------------------