80 lines
2.2 KiB
Makefile
80 lines
2.2 KiB
Makefile
#!/usr/bin/make -f
|
||
#******************************************************************************#
|
||
# #
|
||
# Makefile.vars #
|
||
# | Project : libmonochrome #
|
||
# #
|
||
# By: thomas <thomas@touhey.fr> #
|
||
# Last updated: 2016/04/21 22:15:56 #
|
||
# #
|
||
#******************************************************************************#
|
||
# PROJECT INFORMATION (type: lib)
|
||
NAME = monochrome
|
||
VERSION = 1.1
|
||
|
||
# PROJECT DIRECTORIES
|
||
# - Includes directory
|
||
INCDIR = ./include
|
||
# - Sources directory
|
||
SRCDIR = ./src
|
||
# - Objects directory
|
||
OBJDIR = ./obj
|
||
# - Documentation directory
|
||
DOCDIR = ./doc
|
||
# - Manpages directory
|
||
MANDIR = ./man
|
||
|
||
# SOURCE FILES
|
||
SRC = ML_vram_address \
|
||
ML_clear_vram ML_clear_screen ML_display_vram \
|
||
ML_set_contrast ML_get_contrast \
|
||
\
|
||
ML_pixel ML_pixel_test \
|
||
ML_point ML_line ML_horizontal_line ML_vertical_line \
|
||
ML_rectangle ML_polygon ML_filled_polygon \
|
||
ML_circle ML_filled_circle ML_ellipse ML_ellipse_in_rect \
|
||
ML_filled_ellipse ML_filled_ellipse_in_rect \
|
||
ML_horizontal_scroll ML_vertical_scroll \
|
||
ML_bmp \
|
||
ML_background
|
||
|
||
# INCLUDE FILES
|
||
## PUBLIC
|
||
INCPUB = monochrome
|
||
## INTERNALS
|
||
INCINT = monochrome/internals
|
||
|
||
# MANPAGES
|
||
## SECTIONS
|
||
MAN_SECTS = 3
|
||
## SECTIONS CONTENT
|
||
## - Third
|
||
MAN_3 = libmonochrome ML_bmp ML_circle ML_color \
|
||
ML_contrast ML_ellipse ML_line ML_pixel \
|
||
ML_point ML_polygon ML_rectangle ML_scroll \
|
||
ML_VRAM
|
||
|
||
# BIN UTILITIES
|
||
## Platform
|
||
PLATFORM = sh3eb-elf-
|
||
## Compilator
|
||
CC = $(PLATFORM)gcc
|
||
CHKFLAGS = -Wall -Wextra
|
||
CFLAGS = -I $(INCDIR) $(CHKFLAGS)
|
||
## Archive manager
|
||
AR = $(PLATFORM)ar
|
||
## Ranlib
|
||
RANLIB = $(PLATFORM)ranlib
|
||
## Directory creator
|
||
MD = mkdir -p
|
||
## File remover
|
||
RM = rm -f
|
||
## Compressor
|
||
GZIP = gzip -f
|
||
## Documentation maker
|
||
A2X = a2x
|
||
## Installer
|
||
INST = /usr/bin/install
|
||
|
||
# END OF FILE
|