Commit Graph

14 Commits

Author SHA1 Message Date
Alexander Andreev 4e016a3b4f
Do not set DESTDIR in Makefile. 2024-04-26 04:09:34 +04:00
Alexander Andreev 9112fc018c
src directory as well as a separate header file is absolutely not necessary. Also fixed a typo price_kwh_to_wattspersecond -> price_kwh_to_wattsecond, because because a price per kilowatt-hour is being converted to watt-second. Also added a notice about a licence that is used. 2024-04-26 04:03:48 +04:00
Alexander Andreev f4ce191ae7
Added PREFIX in Makefile.Fixed .PHONY. Standard c2x was changed to c99. 2023-09-17 22:46:12 +04:00
Alexander Andreev 0024d33575
Oh, dir must be removed as well. 2022-04-10 21:01:54 +04:00
Alexander Andreev 1ef712c6a5
[Makefile] Added a simple test that verifies output. Mostly as an example of use for test command. 2022-01-06 04:21:08 +04:00
Alexander Andreev 1799c62c48
[Makefile] Added .PHONY. Removed object compilation. This project won't get extra .c files anyway, so let's compile directly into executable. 2021-12-25 23:22:32 +04:00
Alexander Andreev e61890310f
kwh-calc renamed to more suitable name kwh-cost. 2021-12-24 23:54:31 +04:00
Alexander Andreev 25311a3b7e
Final fix. Let's set DESTDIR to / root by default. You can always change it with running make DESTDIR=your/path un/install. 2021-12-24 02:37:36 +04:00
Alexander Andreev 1681902262
Let's copy a LICENSE file as it is mandatory by MIT license. 2021-12-24 01:36:29 +04:00
Alexander Andreev 7306fd422b
Removed CC, since it is default anyway. 2021-12-24 01:01:13 +04:00
Alexander Andreev 124073b688
Still trying to make it work. 2021-12-24 00:12:51 +04:00
Alexander Andreev bc77af94c8
Makefile typo fix. 2021-12-24 00:07:39 +04:00
Alexander Andreev 39441e0b31
Trying to make PKGBUILD work. 2021-12-24 00:06:54 +04:00
Alexander Andreev 5edcbf9fa0
Makefile 2021-12-23 23:58:23 +04:00