Merge pull request #1 from i5ting/master

Makefile (for compiling example) added
This commit is contained in:
Andreas Misje
2014-03-20 22:29:21 +01:00
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
tags
cscope.out
doc/output
bin

11
Makefile Normal file
View File

@@ -0,0 +1,11 @@
default: clean dist run
dist:
mkdir bin/
gcc -std=c99 -I src src/stateMachine.c examples/stateMachineExample.c -o bin/example
run:
./bin/example
clean:
rm -rf bin