Andrew Gaul
dae65c20a5
Only specify LIBS once
...
The $(BIN) rule already specifies this.
2019-10-30 20:24:00 -07:00
Andrew Gaul
8984322c0a
Specify C99 standard
...
This allows // comments and for loop declarations. Also specify some
feature test macros to access some system calls. References #200 .
2019-10-27 17:12:50 -07:00
Andrew Gaul
ddc219746f
Allow overriding CC with environment variable
2018-08-20 15:19:04 -07:00
Daniel Graziotin
72e457cd50
Merge branch 'mychanges' of git://github.com/sasanj/mbpfan into sasanj-mychanges
2017-10-04 08:47:16 +00:00
sasan
14ce4b859f
add ".o" to object files
2017-08-14 16:12:47 +04:30
Andrew Gaul
8c2e11caae
Enable -Wall and -Wextra
2017-07-21 18:21:15 -07:00
Göktürk Yüksek
d965ec7b1b
Makefile: do not call make recursively inside the install target
...
Instead of calling make inside the install target to make sure that
mbpfan is compiled prior to installing, declare $(BIN) as a
prerequisite for the target. This also enables parallel compilation
from the install target in addition to avoiding unnecessary
re-linking.
2017-04-02 16:43:59 -04:00
Robert Musial
a7ca28f686
Removed unneeded line from Makefile
2017-03-27 12:59:09 -04:00
Robert Musial
a99aaad680
Changes to be committed:
...
modified: AUTHORS
Updated personal info.
modified: Makefile
Beginning work to clean up Makefile. The original makefile appeared
to be checking if the system was Windows NT. Since this is for GNU/
Linux, that was removed. Also all of the code is C, but the
Makefile was calling the C++ compiler to hide bool issues and
missing typedefs (which C++ is ok with but C is not).
modified: src/daemon.c
Added structs, added stdbool.h
modified: src/main.c
Added stdbool.h
modified: src/mbpfan.c
Added stdbool.h
modified: src/minunit.c
Added stdbool.h
2017-03-19 13:43:55 -04:00
Daniel Graziotin
72e902f772
[ #80 ] New Makefile without systemd part
2016-08-31 09:28:13 +02:00
Herminio Hernandez Jr
8e68a2b87b
Update Makefile to use install instad of cp. The manpage, systemd .service file, and README will also be installed. This change will allow the building of .deb packages.
2016-07-03 19:12:15 -07:00
Yi Yang @ Minthe
bb264080a5
Fix makefile: no redundant sudo; Fix mbpfan.c: no more sudden silence when starting.
2014-07-06 23:59:06 -07:00
Daniel Graziotin
03ac20500b
Added Gentoo support and enhanced README.md
2012-08-23 11:08:17 +02:00
Daniel Graziotin
8ed60e9024
Fixes #14 and enhances Readme.md
2012-08-22 15:53:07 +02:00
Daniel Graziotin
fcf18f52cf
Cleanup, reformatting, better Makefile and better README
2012-08-22 15:05:52 +02:00
Daniel Graziotin
90e6378af6
Fixed conflicts in Makefile
2012-08-22 14:04:43 +02:00
Trevor Joynson (trevorj)
43f370576f
Fix typo in Makefile
2012-08-19 08:35:56 -04:00
Trevor Joynson (trevorj)
398e65ad5f
Add Upstart (ubuntu) job
2012-08-19 08:34:26 -04:00
Magnus Stubman
94d7b35c0a
added gentoo init hint in Makefile
2012-07-31 19:04:57 +02:00
CeRiAl
6ea021ad78
Added support for configfile /etc/mbpfan.conf
2012-07-05 01:22:48 +02:00
Daniel Graziotin
ef8cda3b2d
Adds creation of bin/ dir if not present
2012-07-03 13:30:43 +02:00
Daniel Graziotin
a6cc7a45b6
(sort of) fixes #8
2012-06-15 21:47:23 +02:00
Daniel Graziotin
3551dcc3c4
Fixes #7
2012-06-15 21:12:51 +02:00
Daniel Graziotin
0428dafb3a
Take manual control of the fans
...
Converted all unsigned short to int
Changed Polling Interval to 5
2012-06-09 19:07:25 +02:00
Daniel Graziotin
8d89d05cf2
Initial commit of enhanced version
2012-06-09 16:25:28 +02:00