Select Git revision
-
Paul Sokolovsky authored
Done by introducing another factored out helper API in binary.c. This API can be reused also by array and struct modules.
Paul Sokolovsky authoredDone by introducing another factored out helper API in binary.c. This API can be reused also by array and struct modules.
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