view test/hacking-arm-thumb-interwork/Makefile.linux @ 174:a8052efbde18

- loosened OS detection macros a bit to not bail out and thus make it easier to use dyncall on baremetal
author cslag
date Wed, 08 Feb 2017 12:56:59 +0100
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