Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Полина Соколова
assignment-2-dictionary
Commits
194cfa20
Commit
194cfa20
authored
4 months ago
by
Полина Соколова
Browse files
Options
Download
Email Patches
Plain Diff
Add new file
parent
0273762e
master
No related merge requests found
Pipeline
#99304
failed with stages
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
makefile
makefile
+31
-0
No files found.
makefile
0 → 100644
View file @
194cfa20
EXECUTABLE
=
my_program
ASM_FILES
=
dict.asm lib.asm main.asm
OBJ_FILES
=
$(ASM_FILES:.asm=.o)
NASM
=
nasm
NASMFLAGS
=
-f
elf64
LD
=
ld
LDFLAGS
=
PYTHON
=
python3
TEST_SCRIPT
=
main.py
all
:
$(EXECUTABLE)
%.o
:
%.asm
$(NASM)
$(NASMFLAGS)
$<
-o
$@
$(EXECUTABLE)
:
$(OBJ_FILES)
$(LD)
$(LDFLAGS)
$^
-o
$@
test
:
$(EXECUTABLE)
$(PYTHON)
$(TEST_SCRIPT)
clean
:
$(RM)
$(OBJ_FILES)
$(EXECUTABLE)
rebuild
:
clean all
.PHONY
:
all test clean rebuild
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help