view test/hacking-arm-thumb-interwork/Makefile.linux @ 588:dfc2e6ee8782 r1.4-RC3

- more robust endian detection, on some platforms inclusion of endian.h led to assuming wrong endianness (subtle if inclusion was in - syscall test: added newline to output
author Tassilo Philipp
date Mon, 19 Sep 2022 09:54:21 +0200
parents 3e629dc19168
children f13444192ceb
line wrap: on
line source

TARGETS		= test
TARGET_ARCH	+= -mthumb-interwork
all: test
thumb.o: thumb.c
	$(COMPILE.c) $< -mthumb $(OUTPUT_OPTION)
test: test.o thumb.o arm.o
	$(LINK.o) $^ $(OUTPUT_OPTION)
clean:
	$(RM) $(TARGETS) *.o