Skip to content
Snippets Groups Projects
Select Git revision
  • 8bc3516389cd148ebeaa58ceaf3d3f7fb13440d8
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

objint_longlong.c

Blame
  • Makefile 425 B
    include ../py/mkenv.mk
    
    # define main target
    PROG = cpy
    
    # include py core make definitions
    include ../py/py.mk
    
    # compiler settings
    CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX
    LDFLAGS = -lm
    
    #Debugging/Optimization
    ifdef DEBUG
    CFLAGS += -Og -ggdb
    else
    CFLAGS += -Os #-DNDEBUG
    endif
    
    # source files
    SRC_C = \
    	main.c \
    
    OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
    LIB =
    
    include ../py/mkrules.mk