11
SCFLAGS=-D_MSC_VER=1400
14
CFLAGS=-m$(BITS) -shared -c -fno-rtti -fPIC $(SCFLAGS) -I/usr/lib/jvm/java-6-sun/include -I../common/platform-libs/jre-include/win32
15
LFLAGS=-m$(BITS) -shared -fno-rtti -fPIC
17
SRC1=src/native/common/CPU.c
18
SRC2=src/native/windows/WindowsDynamicLinkerImpl_JNI.c
20
OBJ1=build/obj/$(NS)/CPU.o
21
OBJ2=build/obj/$(NS)/WindowsDynamicLinkerImpl_JNI.o
23
BIN=build/obj/$(NS)/gluegen-rt.dll
27
$(BIN): $(OBJ1) $(OBJ2)
28
$(CC) $(LFLAGS) $(OBJ1) $(OBJ2) -o $(BIN)
31
$(CC) $(CFLAGS) $(SRC1) -o $(OBJ1)
34
$(CC) $(CFLAGS) $(SRC2) -o $(OBJ2)
37
rm -f $(BIN) $(OBJ1) $(OBJ2)