2014-09-27 15:42:30 +00:00
|
|
|
# Possible Targets: all clean Debug cleanDebug Release cleanRelease
|
2014-09-26 07:28:43 +00:00
|
|
|
|
2013-10-29 11:14:02 +00:00
|
|
|
##############################################################################################
|
2014-09-27 15:42:30 +00:00
|
|
|
# Settings
|
2013-10-29 11:14:02 +00:00
|
|
|
#
|
|
|
|
|
2014-09-30 14:44:40 +00:00
|
|
|
# General settings
|
|
|
|
# See $(GFXLIB)/tools/gmake_scripts/readme.txt for the list of variables
|
|
|
|
OPT_OS = linux
|
2014-10-06 05:50:19 +00:00
|
|
|
OPT_LINK_OPTIMIZE = yes
|
2014-10-04 07:12:33 +00:00
|
|
|
# Change this next setting (or add the explicit compiler flags) if you are not compiling for x86 linux
|
|
|
|
OPT_CPU = x86
|
2014-09-30 14:44:40 +00:00
|
|
|
|
|
|
|
# uGFX settings
|
|
|
|
# See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables
|
|
|
|
GFXLIB = ../uGFX
|
|
|
|
GFXBOARD = Linux
|
|
|
|
GFXDEMO = modules/gdisp/basics
|
|
|
|
|
|
|
|
# Linux settings
|
|
|
|
# See $(GFXLIB)/tools/gmake_scripts/os_linux.mk for the list of variables
|
2013-10-29 11:14:02 +00:00
|
|
|
|
|
|
|
##############################################################################################
|
2014-09-27 15:42:30 +00:00
|
|
|
# Set these for your project
|
2013-10-29 11:14:02 +00:00
|
|
|
#
|
|
|
|
|
2014-09-27 15:42:30 +00:00
|
|
|
ARCH =
|
2014-09-30 14:44:40 +00:00
|
|
|
SRCFLAGS = -ggdb -O0
|
2014-09-27 15:42:30 +00:00
|
|
|
CFLAGS =
|
|
|
|
CXXFLAGS =
|
|
|
|
ASFLAGS =
|
2014-09-30 14:44:40 +00:00
|
|
|
LDFLAGS =
|
2013-10-29 11:14:02 +00:00
|
|
|
|
2014-09-27 15:42:30 +00:00
|
|
|
SRC =
|
2014-10-04 07:12:33 +00:00
|
|
|
OBJS =
|
2014-09-27 15:42:30 +00:00
|
|
|
DEFS =
|
|
|
|
LIBS =
|
|
|
|
INCPATH =
|
|
|
|
LIBPATH =
|
2013-10-29 11:14:02 +00:00
|
|
|
|
|
|
|
##############################################################################################
|
2014-09-27 15:42:30 +00:00
|
|
|
# These should be at the end
|
2013-10-29 11:14:02 +00:00
|
|
|
#
|
|
|
|
|
2014-09-27 15:42:30 +00:00
|
|
|
include $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk
|
2014-09-30 14:44:40 +00:00
|
|
|
include $(GFXLIB)/tools/gmake_scripts/os_$(OPT_OS).mk
|
2014-09-27 15:42:30 +00:00
|
|
|
include $(GFXLIB)/tools/gmake_scripts/compiler_gcc.mk
|
2013-10-29 11:14:02 +00:00
|
|
|
# *** EOF ***
|