74 lines
2.2 KiB
Makefile
74 lines
2.2 KiB
Makefile
#!/usr/bin/make -f
|
||
#******************************************************************************#
|
||
# _____ _ #
|
||
# Makefile.cfg |_ _|__ _ _| |__ ___ _ _ #
|
||
# | Project : libmonochrome | |/ _ \| | | | '_ \ / _ \ | | | #
|
||
# | | (_) | |_| | | | | __/ |_| | #
|
||
# By: thomas <thomas@touhey.fr> |_|\___/ \__,_|_| |_|\___|\__, |.fr #
|
||
# Last updated: 2016/04/21 22:15:56 |___/ #
|
||
# #
|
||
#******************************************************************************#
|
||
# PROJECT INFORMATION (type: lib)
|
||
NAME = monochrome
|
||
VERSION = 1.1
|
||
|
||
# DIRECTORIES
|
||
## PROJECT
|
||
INCDIR = ./include
|
||
SRCDIR = ./src
|
||
OBJDIR = ./obj
|
||
MANDIR = ./man
|
||
## TARGET
|
||
TGTRT = debian/root
|
||
TGTDIR = /usr/cross
|
||
TGTMANDIR = /usr/share/man
|
||
|
||
# SOURCE FILES
|
||
SRC = ML_vram_adress \
|
||
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_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
|
||
|
||
# INCLUDE FILES
|
||
## PUBLIC
|
||
INCPUB = monochrome
|
||
## INTERNALS
|
||
INCINT = monochrome/internals
|
||
|
||
# MANPAGES
|
||
MAN3 = $(shell basename -a $$(find $(MANDIR)/man3 -type f) $$(find $(MANDIR)/man3 type l))
|
||
|
||
# BIN UTILITIES
|
||
## Platform
|
||
PLATFORM = sh3eb-elf-
|
||
## Compilator
|
||
CC = $(PLATFORM)gcc
|
||
CFLAGS = -I $(INCDIR)
|
||
## Archive manager
|
||
AR = $(PLATFORM)ar
|
||
## Ranlib
|
||
RANLIB = $(PLATFORM)ranlib
|
||
## Directory creator
|
||
MKDIR = mkdir -p
|
||
## File remover
|
||
RM = rm -f
|
||
## Gzip Compressor
|
||
GZP = gzip
|
||
## Installer
|
||
INST = /usr/bin/install
|
||
|
||
# END OF FILE
|