Skip to content
Snippets Groups Projects
Commit cd97538b authored by Arian Ubuntu's avatar Arian Ubuntu
Browse files

Renommer planet en celestial_body

parent a79421e3
No related branches found
No related tags found
1 merge request!42Renommer type "planet_t" par "celestial_body_t"
...@@ -5,11 +5,11 @@ CFLAGS:=-g -Ofast -Wall -Wextra -fsanitize=address -fsanitize=leak -std=gnu11 ...@@ -5,11 +5,11 @@ CFLAGS:=-g -Ofast -Wall -Wextra -fsanitize=address -fsanitize=leak -std=gnu11
#The flags passed to the linker #The flags passed to the linker
LDFLAGS:=-lm -lSDL2 LDFLAGS:=-lm -lSDL2
#Path to the lib Vec2 #Path to the lib Vec2
VPATH:=vec2 gfx planet VPATH:=vec2 gfx celestial_body
main: main.o vec2.o gfx.o planet.o main: main.o vec2.o gfx.o celestial_body.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
run_tests: tests run_tests: tests
...@@ -18,7 +18,7 @@ run_tests: tests ...@@ -18,7 +18,7 @@ run_tests: tests
tests: vec_tests.o vec2.o tests: vec_tests.o vec2.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
planet.o: planet.h celestial_body.o: celestial_body.h
vec2.o: vec2.h vec2.o: vec2.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment