Sound4Calc/Makefile.cfg

43 lines
789 B
Makefile
Raw Permalink Normal View History

2016-05-15 14:00:40 +02:00
#!/usr/bin/make -f
# PROJECT INFORMATION
2016-05-17 19:49:11 +02:00
NAME = sound
2016-05-15 14:00:40 +02:00
ICON = ./icon.bmp
LIB = gcc fx
## DIRECTORIES
SRCDIR = ./src
INCDIR = ./include
OBJDIR = ./obj
LIBDIR = ./lib
SCPTDIR = ./scripts
# TOOLCHAIN
## Directory maker
MD = mkdir -p
## File remover
RM = rm -f
## Assembler
AS = sh3eb-elf-as
## C compiler
CC = sh3eb-elf-gcc
2017-01-06 22:22:26 +01:00
CFLAGS = -m3 -mb -O0 -nostdlib -Wall -Wextra -Wno-main -pedantic -std=c11 -I $(INCDIR)
2016-05-15 14:00:40 +02:00
## Linker
2016-05-15 14:58:54 +02:00
LD = sh3eb-elf-gcc
LFLAGS = -nostdlib -T $(SCPTDIR)/addin.ld -L $(LIBDIR) $(addprefix -l,$(LIB))
2016-05-15 14:00:40 +02:00
## Object copier
OBJCPY = sh3eb-elf-objcopy
## G1A Wrapper
WRAPR = g1a-wrapper
## Sender
SENDR = UsbConnector
# SOURCES
SRC = crt0 Sound4Calc syscall
# INCLUDES
2016-05-15 15:03:51 +02:00
INC = dispbios endian filebios fxlib keybios timer \
stdlib syscall \
2016-05-15 14:00:40 +02:00
Sound4Calc
# END OF FILE