mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-21 06:14:10 +00:00
make g++ compile with -O3
This commit is contained in:
parent
e6eaaa96ae
commit
1019ebb695
1 changed files with 2 additions and 1 deletions
|
|
@ -50,6 +50,7 @@ LIBCOBJS=$(LIBCSRC:.c=.o)
|
|||
LIBOBJS=$(LIBCOBJS) $(LIBCPPOBJS)
|
||||
#DEBUG_FLAGS=-D_DEBUG
|
||||
LINKOPTS=-L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lGL -lGLU -lopenal
|
||||
BUILDOPTS=-O3 -Wall
|
||||
|
||||
all: liblwjgl.so
|
||||
|
||||
|
|
@ -65,7 +66,7 @@ liblwjgl.so: $(LIBOBJS)
|
|||
.SUFFIXES: .cpp .so .o .java .h .class .c
|
||||
|
||||
%.o : %.cpp
|
||||
$(G++) $(DEBUG_FLAGS) -Wall -I$(JAVAHOME)/include -I../common -I$(JAVAHOME)/include/linux -c -o $@ $<
|
||||
$(G++) $(DEBUG_FLAGS) $(BUILDOPTS) -I$(JAVAHOME)/include -I../common -I$(JAVAHOME)/include/linux -c -o $@ $<
|
||||
|
||||
%.o : %.c
|
||||
$(GCC) $(DEBUG_FLAGS) -Wall -I$(JAVAHOME)/include -I../common -I$(JAVAHOME)/include/linux -c -o $@ $<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue