Blame project/extras.mk

1524fd
CFLAGS_SHARED_ATTR 	+= -DNTCON_EXPORT
2bb16e
CFLAGS_STATIC_ATTR 	+= -DNTCON_STATIC -DPE_STATIC -mstatic
52d60d
f2b6c1
CFLAGS_CONFIG 		+= -D_MIDIPIX_FREESTANDING -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
5b49a6
LDFLAGS_SHARED 		+= -Wl,--exclude-all-symbols
5b49a6
LDFLAGS_SHARED 		+= -nostdlib -lpemagine
52d60d
b895c9
ifeq ($(HOST_BITS),32)
5b49a6
	LDFLAGS_SHARED 	+= -Wl,--entry -Wl,$(HOST_UNDERSCORE)ntcon_entry_point@12
b895c9
else
5b49a6
	LDFLAGS_SHARED 	+= -Wl,--entry -Wl,$(HOST_UNDERSCORE)ntcon_entry_point
52d60d
endif