# Makefile --- Source Makefile # --------------------------------------------------------------------------- # This file defines module building features using default make rules. # # Standard variables usage: # # CC/CXX Which compiler to use. # # CFLAGS C Compiler options. # CXXFLAGS C++ Compiler options. # CPPFLAGS Preprocessor options. # LDFLAGS Linker options. # LOADLIBES Linker search paths. # LDLIBS Linker libraries to use. # ARFLAGS Archiver options (static library modules). # # Module variable usage: # # NAME Module name. # TYPE Module type to build ("staticlib", "sharedlib" or anything else to # make a regular executable). # # See 'stdrules.mak' for default targets # --------------------------------------------------------------------------- # c++ project override CC = $(CXX) ifeq ($(OS),Windows_NT) CXXFLAGS = -fmessage-length=0 -Wall -fpermissive CPPFLAGS = -I../include -I$(DEV_ROOT)/dist/include -I'$(AMDAPPSDKROOT)/include' LOADLIBES = -L$(DEV_ROOT)/dist/lib LDLIBS = else CXXFLAGS = -fmessage-length=0 -Wall -fPIC -fpermissive CPPFLAGS = -I../include -I'$(AMDAPPSDKROOT)/include' endif DEBUGFLAGS = -O0 -g3 -ggdb NAME = my_project_binary TYPE = binary BASETARGETDIR = ../bin # --------------------------------------------------------------------------- # Retrieve standard building rules (do NOT delete following line) include $HOME/common/stdrules.mak