/GreenGrid

Primary LanguageCMIT LicenseMIT

CO2

This is a opensource project developed by a group of university students at AAU. The goal is to calculate when home appliances have to start in order to use as little CO2 as possible.

Building

Make sure you have a recent version of gcc and make insalled. The project is written using gcc and ansi C, CuTest is used for unit testing. make/make build-run will build and run the program and all tests automatically. But there are other targets you can use too.

  • make build-shared compiles the files in the shared folder.
  • make build-program compiles the files in the program folder, runs build-shared and links the program together.
  • make build-tests compiles the files in the tests folder, runs build-shared and links the tests program together.
  • make test runs build-tests and runs the tests program.
  • make run runs build-program and runs the program.
  • make build runs test and build-program
  • make clean only works on linux, removes all .o files and .exe files.
  • make rebuild runs clean and build

Report

Report link might come here later if we remember to post a link.

About us

This project was made by: Ajay, Aleksander, Anders, Emil, Frederik and Vaalmigi Studying software engineering bachelor at Aalborg university, as a first semestre project. Contributions are welcome, but it is unlikely they are going to be merged after the hand-in-date of 22-12-2021. So feel free to create your own fork.