mirror of
https://github.com/co-dan/ocaml-wiringpi/
synced 2026-11-28 18:11:42 +01:00
OASIS-ify source tree
This commit is contained in:
1 parent
5e6fc8eecc
commit
64e023e2e7
6 files changed
+15
-19
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user