SConscript 588 B

123456789101112131415161718192021222324252627282930
  1. Import('env')
  2. src_local = Split("""
  3. tc_comm.c
  4. thread_static.c
  5. thread_dynamic.c
  6. thread_priority.c
  7. thread_same_priority.c
  8. thread_static_simple.c
  9. thread_dynamic_simple.c
  10. thread_delete.c
  11. thread_detach.c
  12. thread_yield.c
  13. thread_suspend.c
  14. thread_resume.c
  15. semaphore_static.c
  16. semaphore_dynamic.c
  17. semaphore_priority.c
  18. semaphore_buffer_worker.c
  19. semaphore_producer_consumer.c
  20. mutex_simple.c
  21. heap_malloc.c
  22. heap_realloc.c
  23. """)
  24. # The set of source files associated with this SConscript file.
  25. obj = env.Object(src_local)
  26. env.Append(CPPDEFINES='RT_USING_TC')
  27. Return('obj')