Skip to content

Commit

Permalink
lab/functions: Fix a Makefile not working properly
Browse files Browse the repository at this point in the history
Fixed a Makefile in `solution`, because of a relative path.

Signed-off-by: RaresCon <[email protected]>
  • Loading branch information
RaresCon authored and teodutu committed May 6, 2023
1 parent 4148c58 commit 2538b93
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 35 deletions.
2 changes: 1 addition & 1 deletion laborator/content/apel-functii/2-test/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PROGNAME := test
include ../../utils/Makefile.generic
include ../../utils/Makefile.generic
3 changes: 0 additions & 3 deletions laborator/content/apel-functii/4-5-print-string-len/Makefile

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PROGNAME := print-string
include ../../utils/Makefile.generic
include ../../../utils/Makefile.generic
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
%include "../../utils/printf32.asm"

section .data
mystring db "This is my string", 0
print_format db "String length is %d", 10, 0
Expand All @@ -22,6 +24,8 @@ test_one_byte:
jmp test_one_byte

out:
PRINTF32 `[PRINTF32]: %d\n[printf]: \x0`, ecx

push ecx
push print_format
call printf
Expand Down

0 comments on commit 2538b93

Please sign in to comment.