view test/hacking-arm-thumb-interwork/Makefile.linux @ 254:9d70178c1ded

- better cpp checking whether dlinfo() is available, to also cover GLIBC based systems that don't identify as Linux (e.g. debian/k*BSD)
author Tassilo Philipp
date Mon, 15 May 2017 13:06:04 +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