jacking/linux/Makefile

18 lines
325 B
Makefile
Raw Permalink Normal View History

2022-01-29 20:25:33 +00:00
default: all
# NOTE: please explicitly pass an -mcpu flag specific to the target you're
# using. -mtune=native MIGHT work but it's not guaranteed!
CFLAGS += -Wall -Og -g #-mcpu=arm1176jzf-s
all: jazelle
jazelle: linux.c ../jazelle.c
$(CC) $(CFLAGS) -o "$@" $^
clean:
$(RM) -v jazelle
.PHONY: default all clean