added a bunch of features, preparing to read from obj files for display
This commit is contained in:
parent
6b04973314
commit
34e70de2f9
11 changed files with 567 additions and 377 deletions
18
Makefile
18
Makefile
|
@ -1,12 +1,12 @@
|
|||
CC = gcc
|
||||
CFLAGS = -pg -g -Wall
|
||||
LDFLAGS = -pg -g
|
||||
LDLIBS = -lraylib -lm
|
||||
objects = c3d.o
|
||||
CC = clang #Set compiler
|
||||
CFLAGS = -pg -g -Wall -O2 -pg #set compiler flags
|
||||
LDFLAGS = -pg -g #set linker flags
|
||||
LDLIBS = -lraylib -lm #set libraries to use
|
||||
objects = c3d.o reader.o arrayfuncs.o vecfunc.c #list all object files
|
||||
|
||||
c3d: $(objects)
|
||||
c3d: $(objects) #State that to make the c3d executeable, we need all objects
|
||||
|
||||
$(objects): %.o: %.c
|
||||
$(objects): %.o: %.c #State that to make each object, we use its respective c file
|
||||
|
||||
clean:
|
||||
rm -f *.o c3d
|
||||
clean: #to clean remove all object files and the executable
|
||||
rm -f *.o c3d
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue