You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.cfg 789B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #!/usr/bin/make -f
  2. # PROJECT INFORMATION
  3. NAME = sound
  4. ICON = ./icon.bmp
  5. LIB = gcc fx
  6. ## DIRECTORIES
  7. SRCDIR = ./src
  8. INCDIR = ./include
  9. OBJDIR = ./obj
  10. LIBDIR = ./lib
  11. SCPTDIR = ./scripts
  12. # TOOLCHAIN
  13. ## Directory maker
  14. MD = mkdir -p
  15. ## File remover
  16. RM = rm -f
  17. ## Assembler
  18. AS = sh3eb-elf-as
  19. ## C compiler
  20. CC = sh3eb-elf-gcc
  21. CFLAGS = -m3 -mb -O0 -nostdlib -Wall -Wextra -Wno-main -pedantic -std=c11 -I $(INCDIR)
  22. ## Linker
  23. LD = sh3eb-elf-gcc
  24. LFLAGS = -nostdlib -T $(SCPTDIR)/addin.ld -L $(LIBDIR) $(addprefix -l,$(LIB))
  25. ## Object copier
  26. OBJCPY = sh3eb-elf-objcopy
  27. ## G1A Wrapper
  28. WRAPR = g1a-wrapper
  29. ## Sender
  30. SENDR = UsbConnector
  31. # SOURCES
  32. SRC = crt0 Sound4Calc syscall
  33. # INCLUDES
  34. INC = dispbios endian filebios fxlib keybios timer \
  35. stdlib syscall \
  36. Sound4Calc
  37. # END OF FILE