macaw/macaw-ppc/tests/ppc/Makefile
Tristan Ravitch fcb694ccb9 Add a test for conditional branches
It doesn't pass yet.  It is hung up on an unsupported register type (Crrc, used
in a compare).
2017-11-06 17:19:16 -08:00

15 lines
219 B
Makefile

CC=powerpc64-linux-gnu-gcc
all: $(patsubst %c,%exe,$(wildcard *.c))
%.exe: %.s
$(CC) -fno-stack-protector -nostdlib $< -o $@
%.s: %.c
$(CC) -fno-stack-protector -S -c $< -o $@
.PRECIOUS: %.s
clean:
rm *.s *.exe