Created
July 9, 2012 12:44
-
-
Save uho/3076265 to your computer and use it in GitHub Desktop.
Skeleton Makefile to work with SPIN/Promela on the command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Skeleton Makefile to work with SPIN/Promela on the command line | |
SRC=philo.pml | |
check: ./pan | |
@rm -f $(SRC).trail | |
./pan -n | |
log: $(SRC) $(SRC).trail | |
spin -t -p $(SRC) | |
pan.c: $(SRC) | |
spin -a $(SRC) | |
pan: pan.c | |
gcc -O2 -o pan pan.c | |
clean: | |
rm pan pan.* | |
rm $(SRC).trail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment