Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
PREFIX := /usr

all:
./build.sh main.native main.byte

Expand All @@ -15,5 +17,6 @@ clean:
./build.sh -clean
rm -f ./*.native ./*.byte



install:
install -D ${PREFIX}/bin
install -m 755 main.native ${PREFIX}/bin/scfgc
15 changes: 15 additions & 0 deletions opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
opam-version: "1.2"
name: "scfgc"
version: "0.3"
maintainer: "smog_alado <example@example.com>"
author: "smog_alado <example@example.com>"
homepage: "https://github.com/hugomg/scfgc"
bug-reports: "https://github.com/hugomg/scfgc/issues"
license: ""
dev-repo: "git://github.com/hugomg/scfgc.git"
build: [
[make]
]
install: ["install" "-m" "755" "main.native" "%{prefix}%/bin/scfgc"]
remove: ["ocamlfind" "remove" "project"]
depends: ["ocamlfind" "core_kernel" "menhir" "cmdliner" "fileutils"]