Blame project/extras.mk

69fbb6
CFLAGS_SHARED_ATTR	+= -DPTYC_PRE_ALPHA -DPTYC_EXPORT
0efa8c
CFLAGS_STATIC_ATTR	+= -DPTYC_PRE_ALPHA -DPTYC_STATIC
0efa8c
CFLAGS_APP_ATTR		+= -DPTYC_APP
0efa8c
336b91
CFLAGS_CONFIG 		+= -ffreestanding
336b91
CFLAGS_CONFIG 		+= -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
336b91
CFLAGS_CONFIG 		+= -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
336b91
CFLAGS_CONFIG 		+= -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
336b91
0efa8c
src/driver/ptyc_driver_ctx.o:	version.tag
0efa8c
src/driver/ptyc_driver_ctx.lo:	version.tag
0efa8c
cfc59b
LDFLAGS_COMMON		+= -nostdlib -lntapi -lpemagine -ldalist -lntcon
0efa8c
LDFLAGS_COMMON		+= -Wl,--entry -Wl,$(HOST_UNDERSCORE)$(PACKAGE)_entry_point
0efa8c
0efa8c
LDFLAGS_SHARED		+= -Wl,--exclude-all-symbols
e16d3b
e16d3b
clbuild-bat:
e16d3b
	@$(PROJECT_DIR)/project/clbuild.sh          \
e16d3b
		--cc=$(CC)                          \
e16d3b
		--ar=$(AR)                          \
e16d3b
		--source-dir=$(SOURCE_DIR)          \
e16d3b
		--project-dir=$(PROJECT_DIR)        \
e16d3b
		--sysroot=$(CFLAGS_SYSROOT)         \
e16d3b
		--version-header=ptycon_version.h   \
e16d3b
		--version-macro=PTYCON_GIT_VERSION  \
e16d3b
		--link-target=static-app