Skip to content

Commit

Permalink
accel: source code cleanup
Browse files Browse the repository at this point in the history
cleaned up source code to make consistency across all projects

Signed-off-by: Manivannan Sadhasivam <[email protected]>
  • Loading branch information
Mani-Sadhasivam committed Dec 11, 2017
1 parent aaf8f22 commit 2c84d1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ CXXFLAGS := -Wall -Wextra -g
all:accel

accel:
@$(CC) $(CFLAGS) accel.cpp -o bin $(LDFLAGS)
@$(CC) $(CFLAGS) src/accel.cpp -o accel $(LDFLAGS)
clean:
rm -f ./bin
@rm -f ./accel
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $ git clone https://github.com/96boards-projects/accel.git
$ cd projects
$ cd accel
$ make
$ ./bin
$ ./accel
```

# 4. Conclusion:
Expand Down
1 change: 1 addition & 0 deletions accel.cpp → src/accel.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

/*
* Title: Accelerometer interfacing with 96Boards CE
* Author: Manivannan Sadhasivam
* Copyright (c) 2017 Linaro Inc.
* All rights reserved.
Expand Down

0 comments on commit 2c84d1a

Please sign in to comment.