|
c657ed047c
|
Made a proper Makefile as it should be fixing many errors, like ignoring VAR overwriting. Also, wherever meaningful, = was replaced with := that evaluates once. Also made use of so-called "Order-only prerequisites" in an install target to build a program if it is not already built. Also removed a dangerous rm -rf with rm -f for a LICENSE file and rmdir for a directory.
|
2024-05-19 05:29:13 +04:00 |
|
|
62a16292ec
|
main.c -> kwh-cost.c
|
2024-05-19 04:36:33 +04:00 |
|
|
4e016a3b4f
|
Do not set DESTDIR in Makefile.
|
2024-04-26 04:09:34 +04:00 |
|
|
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 |
|
|
f4ce191ae7
|
Added PREFIX in Makefile.Fixed .PHONY. Standard c2x was changed to c99.
|
2023-09-17 22:46:12 +04:00 |
|
|
0024d33575
|
Oh, dir must be removed as well.
|
2022-04-10 21:01:54 +04:00 |
|
|
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 |
|
|
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 |
|
|
e61890310f
|
kwh-calc renamed to more suitable name kwh-cost.
|
2021-12-24 23:54:31 +04:00 |
|
|
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 |
|
|
1681902262
|
Let's copy a LICENSE file as it is mandatory by MIT license.
|
2021-12-24 01:36:29 +04:00 |
|
|
7306fd422b
|
Removed CC, since it is default anyway.
|
2021-12-24 01:01:13 +04:00 |
|
|
124073b688
|
Still trying to make it work.
|
2021-12-24 00:12:51 +04:00 |
|
|
bc77af94c8
|
Makefile typo fix.
|
2021-12-24 00:07:39 +04:00 |
|
|
39441e0b31
|
Trying to make PKGBUILD work.
|
2021-12-24 00:06:54 +04:00 |
|
|
5edcbf9fa0
|
Makefile
|
2021-12-23 23:58:23 +04:00 |
|