Skip to content

Commit

Permalink
Merge pull request #83 from clbr/master
Browse files Browse the repository at this point in the history
Update Linux Makefile
  • Loading branch information
aras-p committed Jan 29, 2015
2 parents 84216c2 + 82ba8cb commit 85c3ccd
Showing 1 changed file with 31 additions and 6 deletions.
37 changes: 31 additions & 6 deletions src/glsl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@
CPPFLAGS += -I../talloc \
-I../mesa \
-I../mapi \
-I../../include
-I../../include \
-I..

CXXFLAGS += -s -Wall -Os -fdata-sections -ffunction-sections
CFLAGS += -s -Wall -Os -fdata-sections -ffunction-sections

# This list gleaned from the VC project file. Update when needed
SRC = ast_expr.cpp \
SRC = ast_array_index.cpp \
ast_expr.cpp \
ast_function.cpp \
ast_to_hir.cpp \
ast_type.cpp \
builtin_functions.cpp \
builtin_types.cpp \
builtin_variables.cpp \
glsl_lexer.cpp \
glsl_optimizer.cpp \
glsl_parser.cpp \
Expand Down Expand Up @@ -42,21 +46,38 @@ SRC = ast_expr.cpp \
ir_unused_structs.cpp \
ir_validate.cpp \
ir_variable_refcount.cpp \
link_functions.cpp \
link_atomics.cpp \
linker.cpp \
link_functions.cpp \
link_interface_blocks.cpp \
link_uniform_block_active_visitor.cpp \
link_uniform_blocks.cpp \
link_uniform_initializers.cpp \
link_uniforms.cpp \
link_varyings.cpp \
loop_analysis.cpp \
loop_controls.cpp \
loop_unroll.cpp \
lower_clip_distance.cpp \
lower_discard.cpp \
lower_discard_flow.cpp \
lower_if_to_cond_assign.cpp \
lower_instructions.cpp \
lower_jumps.cpp \
lower_mat_op_to_vec.cpp \
lower_named_interface_blocks.cpp \
lower_noise.cpp \
lower_offset_array.cpp \
lower_output_reads.cpp \
lower_packed_varyings.cpp \
lower_packing_builtins.cpp \
lower_ubo_reference.cpp \
lower_variable_index_to_cond_assign.cpp \
lower_vec_index_to_cond_assign.cpp \
lower_vec_index_to_swizzle.cpp \
lower_vector.cpp \
lower_vector_insert.cpp \
lower_vertex_id.cpp \
opt_algebraic.cpp \
opt_array_splitting.cpp \
opt_constant_folding.cpp \
Expand All @@ -65,6 +86,7 @@ SRC = ast_expr.cpp \
opt_copy_propagation.cpp \
opt_copy_propagation_elements.cpp \
opt_cse.cpp \
opt_dead_builtin_variables.cpp \
opt_dead_builtin_varyings.cpp \
opt_dead_code.cpp \
opt_dead_code_local.cpp \
Expand All @@ -73,23 +95,26 @@ SRC = ast_expr.cpp \
opt_flip_matrices.cpp \
opt_function_inlining.cpp \
opt_if_simplification.cpp \
opt_minmax.cpp \
opt_noop_swizzle.cpp \
opt_rebalance_tree.cpp \
opt_redundant_jumps.cpp \
opt_structure_splitting.cpp \
opt_swizzle_swizzle.cpp \
opt_tree_grafting.cpp \
opt_vectorize.cpp \
ralloc.c \
opt_vector_splitting.cpp \
s_expression.cpp \
standalone_scaffolding.cpp \
strtod.c \
glcpp/glcpp-lex.c \
glcpp/glcpp-parse.c \
glcpp/pp.c \
../mesa/main/hash_table.c \
../mesa/main/imports.c \
../mesa/program/prog_hash_table.c \
../mesa/program/symbol_table.c
../mesa/program/symbol_table.c \
../util/hash_table.c \
../util/ralloc.c


OBJS1 = $(SRC:.cpp=.o)
Expand Down

0 comments on commit 85c3ccd

Please sign in to comment.