Advertisement
Guest User

makefile

a guest
Aug 27th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 1.34 KB | None | 0 0
  1.  #----------------------------
  2.  
  3.  #Change TARGET to specify the output program name
  4.  #Change DEBUGMODE to "DEBUG" in order to compile debug.h functions in, and "NDEBUG" to not compile debugging functions
  5.  #Change ARCHIVED to "YES" to mark the output as archived, and "NO" to not
  6.  #Change APPVAR to "YES" to create the file as an AppVar, otherwise "NO" for programs
  7.  #Change ICONPNG to change the name of the png file that should be made into the icon
  8.  #Change DESCRIPTION to modify what is displayed within a compatible shell (Not compiled in if icon is not present)
  9.  
  10.  #----------------------------
  11.  TARGET ?= DEMOT
  12.  DEBUGMODE ?= NDEBUG
  13.  ARCHIVED ?= NO
  14.  APPVAR ?= NO
  15.  #----------------------------
  16.  ICONPNG := iconc.png
  17.  DESCRIPTION ?= "C Toolchain Template"
  18.  #----------------------------
  19.  
  20.  #Add shared library names to the L varible, for instance:
  21.  # L := graphx fileioc keypadc
  22.  L :=
  23.  
  24.  #These directories specify where source and output should go
  25.  
  26.  #----------------------------
  27.  SRCDIR := src
  28.  OBJDIR := obj
  29.  BINDIR := bin
  30.  GFXDIR := src/gfx
  31.  #----------------------------
  32.  
  33.  #This changes the location of compiled output (Advanced)
  34.  
  35.  #----------------------------
  36.  BSSHEAP_LOW := D031F6
  37.  BSSHEAP_HIGH := D13FD6
  38.  STACK_HIGH := D1A87E
  39.  INIT_LOC := D1A87F
  40.  #----------------------------
  41.  
  42.  include $(CEDEV)/bin/main_makefile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement