-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.win
31 lines (27 loc) · 1.58 KB
/
Makefile.win
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
CC = cl
FLAGS = /MTd /I./include /I./include/bullet /I./include/happy_bird /I./audio/include /std:c++latest /EHsc
SRC_PATH = ./src
SRC = $(SRC_PATH)/main.cc $(SRC_PATH)/stage.cc $(SRC_PATH)/temp_collection.cc $(SRC_PATH)/camera.cc \
$(SRC_PATH)/file_manager.cc $(SRC_PATH)/glad.c $(SRC_PATH)/object.cc \
$(SRC_PATH)/world.cc $(SRC_PATH)/controller_utility/character.cc \
$(SRC_PATH)/box.cc $(SRC_PATH)/plain_box.cc $(SRC_PATH)/sphere.cc \
$(SRC_PATH)/math_utility.cc\
$(SRC_PATH)/particle.cc $(SRC_PATH)/wall.cc\
$(SRC_PATH)/shader_utility/shader.cc $(SRC_PATH)/shader_utility/light.cc \
$(SRC_PATH)/shader_utility/light_collection.cc $(SRC_PATH)/shader_utility/material.cc \
$(SRC_PATH)/shader_utility/parallel_light.cc $(SRC_PATH)/shader_utility/point_light.cc $(SRC_PATH)/shader_utility/spot_light.cc \
$(SRC_PATH)/shader_utility/attenuation.cc $(SRC_PATH)/hero.cc \
$(SRC_PATH)/random.cc $(SRC_PATH)/timer.cc\
$(SRC_PATH)/shader_utility/pure_color_material.cc $(SRC_PATH)/shader_utility/texture_material.cc \
$(SRC_PATH)/debug_utility/cg_exception.cc $(SRC_PATH)/debug_utility/log.cc \
$(SRC_PATH)/controller_utility/automation_controller.cc $(SRC_PATH)/controller_utility/controller.cc \
$(SRC_PATH)/controller_utility/keyboard.cc $(SRC_PATH)/controller_utility/keyboard_controller.cc \
$(SRC_PATH)/player_utility/player.cc $(SRC_PATH)/player_utility/player_collection.cc
# & $(CC) $(TEST_PATH) /gtest_test.cc -o gtest $(TEST_FLAGS) & ./gtest --gtest_output=xml:gtest-report.xml
all: $(SRC)
$(CC) $(SRC) $(FLAGS)
bullet: ./src/test.cc
$(CC) ./src/test.cc $(FLAGS)
.PHONY: clean
clean:
-rm main test