-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
24 lines (22 loc) · 779 Bytes
/
makefile
File metadata and controls
24 lines (22 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CC = g++
CFLAGS = -g -Wall
src/graphics.o : src/graphics.cpp src/graphics.h
${CC} ${CFLAGS} -c src/graphics.cpp
src/Shape.o : src/Shape.cpp src/Shape.h
${CC} ${CFLAGS} -c src/Shape.cpp
src/Point3D.o : src/Point3D.cpp src/Point3D.h
${CC} ${CFLAGS} -c src/Point3D.cpp
cube14 :
${CC} ${CFLAGS} cube14.cpp src/graphics.o src/Shape.o src/Point3D.o -o exec/cube14
test :
${CC} ${CFLAGS} testCollision.cpp src/graphics.o src/Shape.o src/Point3D.o -o exec/test
rcube :
${CC} ${CFLAGS} randomCubes.cpp src/graphics.o src/Shape.o src/Point3D.o -o exec/rcube
polygon:
${CC} ${CFLAGS} polygon.cpp src/graphics.o src/Shape.o src/Point3D.o -o exec/polygon
#all:
# make src/makefile all
# ${CC} ${CFLAGS} -c src/graphics.cpp src/Shape.cpp src/Point3D.cpp
clear:
rm src/*.o
rm exec/*