Skip to content

Commit

Permalink
Move the 'requires' statement into the root stanza.proj.
Browse files Browse the repository at this point in the history
  • Loading branch information
CuppoJava committed May 8, 2022
1 parent 5730965 commit 1846624
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
16 changes: 0 additions & 16 deletions compiler/stanza.proj
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,3 @@ package stz/extern-intrinsics defined-in "stz-extern-intrinsics.stanza"
package stz/packed-class-table defined-in "stz-packed-class-table.stanza"
package stz/vm-opcodes defined-in "stz-vm-opcodes.stanza"
package stz/asmjit defined-in "stz-asmjit.stanza"
package stz/asmjit requires :
ccflags:
on-platform :
os-x :
"-L{.}/../bin"
"-lasmjit"
"-lc++"
linux :
"-L{.}/../bin"
"-lasmjit"
"-lstdc++"
"-lrt"
windows :
"-L{.}/../bin"
"-lasmjit"
"-lstdc++"
17 changes: 17 additions & 0 deletions stanza.proj
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,20 @@ compile file "build/sha256.o" from "core/sha256.c" :
os-x : "cc -std=gnu99 {.}/core/sha256.c -c -o {.}/build/sha256.o -O3"
linux : "cc -std=gnu99 {.}/core/sha256.c -c -o {.}/build/sha256.o -O3 -fPIC"
windows : "gcc -std=gnu99 {.}\\core\\sha256.c -c -o {.}\\build\\sha256.o -O3"

package stz/asmjit requires :
ccflags:
on-platform :
os-x :
"-L{.}/bin"
"-lasmjit"
"-lc++"
linux :
"-L{.}/bin"
"-lasmjit"
"-lstdc++"
"-lrt"
windows :
"-L{.}/bin"
"-lasmjit"
"-lstdc++"

0 comments on commit 1846624

Please sign in to comment.