OASIS-ify source tree
This commit is contained in:
parent
5e6fc8eecc
commit
64e023e2e7
19
Makefile
19
Makefile
|
@ -1,19 +0,0 @@
|
||||||
# This Makefile is really not optimized...
|
|
||||||
CC=ocamlc
|
|
||||||
OPT=-custom
|
|
||||||
|
|
||||||
MAIN=sapin_noel.ml
|
|
||||||
SOURCES=wiringPiOcaml_stub.c wiringPiOcaml.ml shiftReg.ml
|
|
||||||
PACKAGES=unix parmap
|
|
||||||
|
|
||||||
OBJECTS=$(SOURCES)
|
|
||||||
OUTPUT=$(MAIN:.ml=.bin)
|
|
||||||
|
|
||||||
|
|
||||||
all: $(OBJECTS)
|
|
||||||
$(CC) $(OPT) -cclib -lwiringPi unix.cma $(SOURCES) $(MAIN) -o $(OUTPUT)
|
|
||||||
$(CC) $(OPT) -cclib -lwiringPi unix.cma $(SOURCES) test_led.ml -o test_led.bin
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *.cmo *.cmi *.cmx
|
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
OASISFormat: 0.4
|
||||||
|
Name: WiringPi
|
||||||
|
Version: 0.0.1
|
||||||
|
Synopsis: Binding to the WiringPi library for hardware access
|
||||||
|
Authors: Tobias Bora, Marek Kubica
|
||||||
|
License: GPL-3.0
|
||||||
|
Plugins: META (0.4), DevFiles (0.4)
|
||||||
|
|
||||||
|
Library "WiringPi"
|
||||||
|
Path: src/
|
||||||
|
BuildTools: ocamlbuild
|
||||||
|
Modules: WiringPi
|
||||||
|
CSources: WiringPi_stubs.c
|
||||||
|
CCLib: -lwiringPi
|
||||||
|
|
Loading…
Reference in New Issue