summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-31 13:34:22 -0500
committermidipix <writeonce@midipix.org>2018-12-31 13:34:22 -0500
commit54b537e1b0c3ea1903768e543746eb55c64fd554 (patch)
treed6b95ce4df278ae79016d032f72b0ebfd2e70fe3 /project
parent26c7b2f8926e896638b12eaeebf965645b6cac79 (diff)
downloadptycon-54b537e1b0c3ea1903768e543746eb55c64fd554.tar.bz2
ptycon-54b537e1b0c3ea1903768e543746eb55c64fd554.tar.xz
project: set ARCH (nt32/nt64) based on CC_BITS.
Diffstat (limited to 'project')
-rw-r--r--project/arch.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/project/arch.mk b/project/arch.mk
index 14fb02d..466bf79 100644
--- a/project/arch.mk
+++ b/project/arch.mk
@@ -1,3 +1,6 @@
+# nt32/nt64
+ARCH = nt$(CC_BITS)
+
src/internal/nolibc/ptyc_compiler.lo: $(PROJECT_DIR)/src/internal/nolibc/$(ARCH)/ptyc_compiler.s host.tag tree.tag
$(CC) -c -o $@ $<