F1rush/Makefile.config

46 lines
775 B
Makefile
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/make -f
# PROJECT INFORMATION
NAME = voiture
ICON = ./icon.bmp
LIB = gcc
## DIRECTORIES
SRCDIR = ./src
INCDIR = ./include
OBJDIR = ./obj
LIBDIR = ./lib
IMGDIR = ./img
# TOOLCHAIN
## Directory maker
MD = mkdir -p
## File remover
RM = rm -rf
## Assembler
AS = sh3eb-elf-as
## C compiler
CC = sh3eb-elf-gcc
CFLAGS = -m3 -mb -Os -nostdlib -Wall -Wextra -Wno-main -pedantic -std=c11 -I $(INCDIR) `fxsdk --cflags`
## Linker
LD = sh3eb-elf-gcc
LFLAGS = `fxsdk --cflags` `fxsdk --libs`
## Object copier
OBJCPY = sh3eb-elf-objcopy
## G1A Wrapper
WRAPR = g1a-wrapper
## Sender
SENDR = p7
# SOURCES
SRC = $(notdir $(wildcard $(SRCDIR)/*.[cs]))
# INCLUDES
INC = $(notdir $(wildcard $(INCDIR)/*.h))
# SPRITES
IMG = $(notdir $(wildcard $(IMGDIR)/*.bmp))
# END OF FILE