mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-21 06:14:10 +00:00
Updated linux Makefile
This commit is contained in:
parent
f2b0cf2e6a
commit
762df9ca12
1 changed files with 6 additions and 2 deletions
|
|
@ -39,7 +39,8 @@
|
|||
# version $Revision$
|
||||
#
|
||||
|
||||
GCC = g++
|
||||
GCC = gcc
|
||||
G++ = g++
|
||||
LINK = g++
|
||||
JAVAHOME=/usr/java/j2sdk1.4.1_01
|
||||
LIBCSRC=../common/extgl.c
|
||||
|
|
@ -61,9 +62,12 @@ liblwjgl.so: $(LIBOBJS)
|
|||
$(LINK) -shared -o $@ $^ $(LINKOPTS)
|
||||
cp $@ ../../../bin/
|
||||
|
||||
.SUFFIXES: .cpp .so .o .java .h .class
|
||||
.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 $@ $<
|
||||
|
||||
%.o : %.c
|
||||
$(GCC) $(DEBUG_FLAGS) -Wall -I$(JAVAHOME)/include -I../common -I$(JAVAHOME)/include/linux -c -o $@ $<
|
||||
|
||||
testprog : main.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue