summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--project/extras.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 25fc706..cddaa32 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -2,6 +2,11 @@ CFLAGS_SHARED_ATTR += -DPTYC_PRE_ALPHA -DPTYC_EXPORT
CFLAGS_STATIC_ATTR += -DPTYC_PRE_ALPHA -DPTYC_STATIC
CFLAGS_APP_ATTR += -DPTYC_APP
+CFLAGS_CONFIG += -ffreestanding
+CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
+CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
+CFLAGS_CONFIG += -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
+
src/driver/ptyc_driver_ctx.o: version.tag
src/driver/ptyc_driver_ctx.lo: version.tag