[feat] handel command arg
commit168ed1a2e9279fe45a8976d6cca8e5d7ba7b80fa
authorafify <hassan@afify.dev>
Wed, 18 Nov 2020 15:05:31 +0000 (18 18:05 +0300)
committerafify <hassan@afify.dev>
Wed, 18 Nov 2020 15:05:31 +0000 (18 18:05 +0300)
tree46c4ddbdb88b50e0c51aee5683658044cd435c2e
parent55c382f4b11b9ba091d32aa56cb8b4683c64f292
[feat] handel command arg

- if argc > 2 die_usage
- if argc == 2 die_version
if argv[1] == -v\0 print version
else die_usage
- else continue

- create functions: die_usage and die_version
- set MAX_ARGC
- set die messages
- create DIE macro
- define VERSION
azan-nasm.s
config.mk
macros.s