Skip to content
Snippets Groups Projects
Unverified Commit 7dd7009b authored by orestis.malaspin's avatar orestis.malaspin
Browse files

udpated makefile to account for util

parent 19a0dd39
No related branches found
No related tags found
No related merge requests found
Pipeline #12160 failed
......@@ -2,7 +2,7 @@ CC=gcc
OPTS=-g -O3 -Wall -Wextra
LINK=-lm
vec2_tests: vec2_tests.o vec2.o
vec2_tests: vec2_tests.o vec2.o util.o
$(CC) $(OPTS) -o $@ $^ $(LINK)
test: vec2_tests
......@@ -14,5 +14,8 @@ vec2_tests.o: vec2_tests.c
vec2.o: ../vec2.c ../vec2.h
$(CC) $(OPTS) -c $^
util.o: ../util.c ../util.h
$(CC) $(OPTS) -c $^
clean:
rm -f *.o vec2_tests
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment