Commit 6597f8fe authored by Canvas123's avatar Canvas123

Makefile added

parent da67630c
LBITS := $(shell getconf LONG_BIT)
CC = g++
CFLAGS = -O3 -fPIC -shared
f = so
t = _x64
ifeq ($(LBITS),64)
ifdef SYSTEMROOT
f = dll
endif
else
t = ""
ifdef SYSTEMROOT
f = so
endif
endif
build:
$(CC) $(CFLAGS) -o rsc$(t).$(f) main.cpp
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