OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 OPTIONS = -m32 -O3 -Wall | 5 OPTIONS = -O3 -Wall |
6 GLES = -D SAN_ANGELES_OBSERVATION_GLES | 6 GLES = -D SAN_ANGELES_OBSERVATION_GLES |
7 NO_IMPORTGL = -D DISABLE_IMPORTGL | 7 NO_IMPORTGL = -D DISABLE_IMPORTGL |
8 HIGH_RES = -D SUPERSHAPE_HIGH_RES | 8 HIGH_RES = -D SUPERSHAPE_HIGH_RES |
9 | 9 |
10 # OpenGL implementation. | 10 # OpenGL implementation. |
11 LDFLAGS_GL = -lX11 -lm -lGL | 11 LDFLAGS_GL = -lX11 -lm -lGL |
12 SRCS_GL = demo.c app-linux.c importvbo.c | 12 SRCS_GL = demo.c app-linux.c importvbo.c |
13 TARGET_GL = SanOGL | 13 TARGET_GL = SanOGL |
14 GL_FLAG = $(HIGH_RES) | 14 GL_FLAG = $(HIGH_RES) |
15 | 15 |
(...skipping 17 matching lines...) Expand all Loading... |
33 $(TARGET_ES): $(SRCS_ES) | 33 $(TARGET_ES): $(SRCS_ES) |
34 $(CC) $(ES_FLAG) -o $@ $^ $(INCLUDE_ES) $(LDFLAGS_ES) $(OPTIONS) | 34 $(CC) $(ES_FLAG) -o $@ $^ $(INCLUDE_ES) $(LDFLAGS_ES) $(OPTIONS) |
35 | 35 |
36 $(TARGET_ES_S): $(SRCS_ES) | 36 $(TARGET_ES_S): $(SRCS_ES) |
37 $(CC) $(ES_S_FLAG) -o $@ $^ $(INCLUDE_ES) $(LDFLAGS_ES_S) $(OPTIONS) | 37 $(CC) $(ES_S_FLAG) -o $@ $^ $(INCLUDE_ES) $(LDFLAGS_ES_S) $(OPTIONS) |
38 | 38 |
39 clean: | 39 clean: |
40 $(RM) $(TARGET_GL) | 40 $(RM) $(TARGET_GL) |
41 $(RM) $(TARGET_ES) | 41 $(RM) $(TARGET_ES) |
42 $(RM) $(TARGET_ES_S) | 42 $(RM) $(TARGET_ES_S) |
OLD | NEW |