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.config 900B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #!/usr/bin/make -f
  2. # PROJECT INFORMATION
  3. NAME = wings
  4. ICON = misc/icon.bmp
  5. LIB = gcc
  6. ## DIRECTORIES
  7. SRCDIR = ./src
  8. INCDIR = ./include
  9. OBJDIR = ./obj
  10. LIBDIR = ./lib
  11. SCPTDIR = ./scripts
  12. IMGDIR = ./img
  13. FONTDIR = ./font
  14. # TOOLCHAIN
  15. ## Directory maker
  16. MD = mkdir -p
  17. ## File remover
  18. RM = rm -f -r
  19. ## Assembler
  20. AS = sh3eb-elf-as
  21. ## C compiler
  22. CC = sh3eb-elf-gcc
  23. CFLAGS = -m3 -mb -Os -nostdlib -Wall -Wextra -Wno-main -pedantic -std=c11 -I $(INCDIR) `fxsdk --cflags`
  24. ## Linker
  25. LD = sh3eb-elf-gcc
  26. LFLAGS = `fxsdk --cflags --libs`
  27. ## Object copier
  28. OBJCPY = sh3eb-elf-objcopy
  29. ## Object dump
  30. OBJDUMP = sh3eb-elf-objdump
  31. ## G1A Wrapper
  32. WRAPR = g1a-wrapper
  33. ## Sender
  34. SENDR = p7
  35. # SOURCES
  36. SRC = $(notdir $(wildcard $(SRCDIR)/*.[cs]))
  37. # INCLUDES
  38. INC = $(notdir $(wildcard $(INCDIR)/*.h))
  39. #IMAGE
  40. IMG = $(notdir $(wildcard $(IMGDIR)/*.bmp))
  41. # FONTS
  42. FONT = $(notdir $(wildcard $(FONTDIR)/*.bmp))
  43. # END OF FILE