holey-toys/Makefile

18 lines
270 B
Makefile
Raw Permalink Normal View History

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
2024-03-07 10:34:39 -06:00
hbas: src/hbas.c
2024-03-08 05:23:47 -06:00
${CC} ${CFLAGS} ${CFLAGS_EXTRA} src/hbas.c -o build/hbas
2024-03-04 14:24:03 -06:00
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:
2024-03-05 14:20:05 -06:00
rm -f example hbas
2024-03-04 14:24:03 -06:00
all:
hbas