holey-toys/Makefile

18 lines
262 B
Makefile
Raw Normal View History

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