jacking/linux/Makefile

18 lines
325 B
Makefile

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