From 91cd148a05e2c492a02eb77b12a2581b87bc9822 Mon Sep 17 00:00:00 2001 From: Andrei Warkentin Date: Tue, 28 Mar 2017 01:58:42 -0400 Subject: tcc: early OSX native support - build scripts - working '-run' mode, e.g.: ./tcc -B. -I./include -I. -I.. -D_ANSI_SOURCE -run examples/ex1.c Note: we don't bother parsing Mach-O/Fat images yet. We blindly dlopen the image. Signed-off-by: Andrei Warkentin --- lib/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/Makefile b/lib/Makefile index 9861743..2ac3126 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -46,6 +46,9 @@ TGT-i386 = -DTCC_TARGET_I386 OBJ-x86_64 = $(X86_64_O) TGT-x86_64 = -DTCC_TARGET_X86_64 +OBJ-x86_64-osx = $(X86_64_O) +TGT-x86_64-osx = -DTCC_TARGET_X86_64 -DTCC_TARGET_MACHO + OBJ-arm = $(ARM_O) TGT-arm = -DTCC_TARGET_ARM -- cgit v1.3.1