|
From: Matthew F. <fl...@ml...> - 2006-05-24 19:38:28
|
Include path for gmp.h on OpenBSD (and FreeBSD, as TARGET_OS wasn't being set properly). ---------------------------------------------------------------------- U mlton/branches/on-20050822-x86_64-branch/bytecode/Makefile ---------------------------------------------------------------------- Modified: mlton/branches/on-20050822-x86_64-branch/bytecode/Makefile =================================================================== --- mlton/branches/on-20050822-x86_64-branch/bytecode/Makefile 2006-05-25 00:32:01 UTC (rev 4589) +++ mlton/branches/on-20050822-x86_64-branch/bytecode/Makefile 2006-05-25 02:38:26 UTC (rev 4590) @@ -6,6 +6,7 @@ ## TARGET_ARCH = $(shell ../bin/host-arch) +TARGET_OS = $(shell ../bin/host-os) all: interpret.o interpret-gdb.o print-opcodes @@ -27,6 +28,10 @@ CFLAGS += -I/usr/local/include endif +ifeq ($(TARGET_OS), openbsd) +CFLAGS += -I/usr/local/include +endif + interpret.o: interpret.c interpret.h opcode.h $(CC) $(CFLAGS) -c -O2 interpret.c |