95 lines
2.7 KiB
Makefile
Executable File
95 lines
2.7 KiB
Makefile
Executable File
#!/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_or ML_bmp_and ML_bmp_xor \
|
||
ML_bmp_or_cl ML_bmp_and_cl ML_bmp_xor_cl \
|
||
ML_bmp_8_or ML_bmp_8_and ML_bmp_8_xor \
|
||
ML_bmp_8_or_cl ML_bmp_8_and_cl ML_bmp_8_xor_cl \
|
||
ML_bmp_16_or ML_bmp_16_and ML_bmp_16_xor \
|
||
ML_bmp_16_or_cl ML_bmp_16_and_cl ML_bmp_16_xor_cl \
|
||
ML_circle ML_filled_circle \
|
||
ML_color \
|
||
ML_get_contrast ML_set_contrast \
|
||
ML_ellipse ML_filled_ellipse \
|
||
ML_ellipse_in_rect ML_filled_ellipse_in_rect \
|
||
ML_line ML_horizontal_line ML_vertical_line \
|
||
ML_pixel ML_pixel_test \
|
||
ML_point \
|
||
ML_polygon ML_filled_polygon \
|
||
ML_rectangle \
|
||
ML_horizontal_scroll ML_vertical_scroll \
|
||
ML_vram_address ML_clear_vram ML_clear_screen ML_display_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
|