Commit ba209c86 authored by Canvas123's avatar Canvas123

Fixed makefile

parent 6597f8fe
LBITS := $(shell getconf LONG_BIT)
ifeq ($(OS),Windows_NT)
ifeq ($(PROCESSOR_ARCHITEW6432),AMD64)
LBITS := 64
else
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64)
LBITS := 64
endif
ifeq ($(PROCESSOR_ARCHITECTURE),x86)
LBITS := 32
endif
endif
else
LBITS := $(shell getconf LONG_BIT)
endif
CC = g++
CFLAGS = -O3 -fPIC -shared
f = so
t = _x64
ifeq ($(LBITS),64)
ifdef SYSTEMROOT
ifeq ($(OS),Windows_NT)
f = dll
endif
else
t = ""
ifdef SYSTEMROOT
f = so
endif
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment