libmonochrome/Makefile.vars

80 lines
2.2 KiB
Makefile
Raw Normal View History

2016-04-21 22:27:29 +02:00
#!/usr/bin/make -f
#******************************************************************************#
2016-05-22 23:43:10 +02:00
# #
# Makefile.vars #
# | Project : libmonochrome #
# #
# By: thomas <thomas@touhey.fr> #
# Last updated: 2016/04/21 22:15:56 #
2016-04-21 22:27:29 +02:00
# #
#******************************************************************************#
# PROJECT INFORMATION (type: lib)
2016-04-21 22:27:29 +02:00
NAME = monochrome
VERSION = 1.1
2016-04-21 22:27:29 +02:00
2016-05-10 14:08:13 +02:00
# PROJECT DIRECTORIES
# - Includes directory
2016-04-21 22:27:29 +02:00
INCDIR = ./include
# - Sources directory
2016-04-21 22:27:29 +02:00
SRCDIR = ./src
# - Objects directory
2016-04-21 22:27:29 +02:00
OBJDIR = ./obj
# - Documentation directory
DOCDIR = ./doc
# - Manpages directory
MANDIR = ./man
2016-04-21 22:27:29 +02:00
# SOURCE FILES
2016-05-24 00:38:30 +02:00
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 \
2016-05-23 23:56:02 +02:00
ML_background
2016-04-21 22:27:29 +02:00
# 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
2016-04-21 22:27:29 +02:00
# BIN UTILITIES
## Platform
PLATFORM = sh3eb-elf-
## Compilator
CC = $(PLATFORM)gcc
2016-05-23 23:56:02 +02:00
CHKFLAGS = -Wall -Wextra
CFLAGS = -I $(INCDIR) $(CHKFLAGS)
2016-04-21 22:27:29 +02:00
## Archive manager
AR = $(PLATFORM)ar
## Ranlib
RANLIB = $(PLATFORM)ranlib
## Directory creator
MD = mkdir -p
2016-04-21 22:27:29 +02:00
## File remover
RM = rm -f
## Compressor
GZIP = gzip -f
## Documentation maker
A2X = a2x
## Installer
INST = /usr/bin/install
2016-04-21 22:27:29 +02:00
# END OF FILE