diff options
author | Joel Kronqvist <joelkronqvist@proton.me> | 2024-04-07 10:53:40 +0300 |
---|---|---|
committer | Joel Kronqvist <joelkronqvist@proton.me> | 2024-04-07 10:53:40 +0300 |
commit | f975594e55bdc05ee436bc7bdcd6e09aec5357b1 (patch) | |
tree | e1ddb07ab967bbe9eb6a14865e7413b9b2e1ea0c /Makefile | |
parent | 1ef526c695df4b37aa184867fb5b62c93118aa02 (diff) | |
download | stdu-f975594e55bdc05ee436bc7bdcd6e09aec5357b1.tar.gz stdu-f975594e55bdc05ee436bc7bdcd6e09aec5357b1.zip |
Finished implementation for formatting for human readability
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 15 insertions, 9 deletions
@@ -1,19 +1,25 @@ -stdu : stdu.o intmath.o intmath.h config-parser.h config-parser.o - cc -o stdu stdu.o intmath.o config-parser.o +stdu : stdu.o intmath.o intmath.h config-parser.h config-parser.o formatting.o \ + formatting.h + cc -g -o stdu stdu.o intmath.o config-parser.o formatting.o stdu.o : stdu.c - cc -c stdu.c + cc -g -c stdu.c + +formatting.o : formatting.h formatting.c intmath.h intmath.c minitest.h + cc -g -c formatting.c intmath.o : intmath.c minitest.h intmath.h - cc -c intmath.c + cc -g -c intmath.c config-parser.o : config-parser.c config-parser.h minitest.h - cc -c config-parser.c + cc -g -c config-parser.c + +tests : tests.c minitest.h intmath.c config-parser.c formatting.c + cc -g -o tests tests.c -test : tests.c minitest.h intmath.c config-parser.c - cc -o test tests.c - ./test +test : tests + ./tests clean : - rm stdu stdu.o intmath.o test config-parser.o + rm stdu stdu.o intmath.o tests config-parser.o formatting.o |