diff options
author | Joel Kronqvist <joelkronqvist@proton.me> | 2024-03-24 10:00:19 +0200 |
---|---|---|
committer | Joel Kronqvist <joelkronqvist@proton.me> | 2024-03-24 10:00:19 +0200 |
commit | 1ef526c695df4b37aa184867fb5b62c93118aa02 (patch) | |
tree | e223eda40193d584f55c9f11e8d511988d7e1136 /Makefile | |
parent | e26279107edf7012e6b9cd558aaa09a8f0ca4764 (diff) | |
download | stdu-1ef526c695df4b37aa184867fb5b62c93118aa02.tar.gz stdu-1ef526c695df4b37aa184867fb5b62c93118aa02.zip |
Refactored configuration parsing to a separate file and added unit tests to it
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,6 @@ -stdu : stdu.o intmath.o intmath.h - cc -o stdu stdu.o intmath.o +stdu : stdu.o intmath.o intmath.h config-parser.h config-parser.o + cc -o stdu stdu.o intmath.o config-parser.o stdu.o : stdu.c cc -c stdu.c @@ -8,9 +8,12 @@ stdu.o : stdu.c intmath.o : intmath.c minitest.h intmath.h cc -c intmath.c -test : tests.c minitest.h intmath.c +config-parser.o : config-parser.c config-parser.h minitest.h + cc -c config-parser.c + +test : tests.c minitest.h intmath.c config-parser.c cc -o test tests.c ./test clean : - rm stdu stdu.o intmath.o test + rm stdu stdu.o intmath.o test config-parser.o |