Pass 2 at building on linux: remove compile errors from the preprocessor.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20539 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
54d8cda95e
commit
3e1fcf34c5
9 changed files with 33 additions and 31 deletions
|
|
@ -1,4 +1,7 @@
|
|||
CC = gcc
|
||||
INCLUDE = -I../
|
||||
CC = g++
|
||||
|
||||
CPPFLAGS=$(DEFINE) $(INCLUDE)
|
||||
|
||||
OBJECTS = atom.o cpp.o cppstruct.o memory.o scanner.o symbols.o tokens.o
|
||||
AR=ar
|
||||
|
|
@ -11,7 +14,7 @@ libPreprocessor.a : $(OBJECTS)
|
|||
ranlib $@
|
||||
|
||||
%.o : %.c
|
||||
$(CC) -c $<
|
||||
$(CC) $(CPPFLAGS) -c $<
|
||||
|
||||
#
|
||||
# Cleanup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue