2024-03-04 14:38:46 -06:00
|
|
|
CC = gcc
|
|
|
|
CFLAGS_EXTRA =
|
|
|
|
CFLAGS = -Wall -Wextra -Wpedantic -std=c17 -O3
|
2024-03-04 14:24:03 -06:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
|
|
|
|
hbas: hbas.c
|
|
|
|
${CC} ${CFLAGS} ${CFLAGS_EXTRA} hbas.c -o hbas
|
|
|
|
|
|
|
|
example: hbas example.S
|
2024-03-04 14:30:03 -06:00
|
|
|
./hbas < example.S > example
|
2024-03-04 14:24:03 -06:00
|
|
|
xxd example
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm example hbas
|
|
|
|
|
|
|
|
all:
|
|
|
|
hbas
|