Blame project/extras.mk

b895c9
CFLAGS_SHARED_ATTR 	+= -DNTCON_BUILD
b895c9
CFLAGS_STATIC_ATTR 	+= -DNTCON_STATIC
52d60d
b895c9
CFLAGS_CONFIG 		+= -DMIDIPIX_FREESTANDING -ffreestanding -D__NT$(HOST_BITS)
b895c9
CFLAGS_CONFIG 		+= -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
b895c9
CFLAGS_CONFIG 		+= -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
52d60d
b895c9
LDFLAGS_SHARED 		+= --out-implib $(SHARED_IMPLIB)
b895c9
LDFLAGS_SHARED 		+= --exclude-all-symbols
b895c9
LDFLAGS_SHARED 		+= -lpemagine
52d60d
b895c9
ifeq ($(HOST_BITS),32)
b895c9
	LDFLAGS_SHARED 	+= --entry $(HOST_UNDERSCORE)ntcon_entry_point@12
b895c9
else
b895c9
	LDFLAGS_SHARED 	+= --entry $(HOST_UNDERSCORE)ntcon_entry_point
52d60d
endif