Commits

arkdro  committed c8147e3

use native target

  • Participants
  • Parent commits 0bbdbe4

Comments (0)

Files changed (1)

File ocaml/Makefile

 PROG = odec_port
 PROG_BYTE = $(PROG).byte
 PROG_NATIVE = $(PROG).native
+PROG_DEST = $(PROG_NATIVE)
 SRC_DIRS = src e
 USED_LIBS = nums unix bigarray
 SRC = $(patsubst %, -I %, $(SRC_DIRS))
 LFLAGS = $(patsubst %, -cflag %, $(LFLAGS_PURE))
 
 all:
-	ocamlbuild $(LFLAGS) $(CFLAGS) $(SRC) $(LIBS) -pp "camlp4o Camlp4MacroParser.cmo $(DEFS)" $(PROG_BYTE)
+	ocamlbuild $(LFLAGS) $(CFLAGS) $(SRC) $(LIBS) -pp "camlp4o Camlp4MacroParser.cmo $(DEFS)" $(PROG_DEST)
 #	ocamlbuild -lflag -g -cflag -g -cflag -annot -I src -I e -lib nums -lib unix -lib bigarray -pp "camlp4o Camlp4MacroParser.cmo -D EPT_DUMP_DEBUG -D EPT_XY_DEBUG -D EPT_LAB_DEBUG -D EPT_TRACE_DEBUG" $(PROG_BYTE)
 
 prof: