view lwlib/rules.make @ 101:ed7f970f3688

Added --define= option to predfine a symbol for assembly
author lost@l-w.ca
date Sat, 06 Aug 2011 22:15:43 -0600
parents ac311e7ffed6
children
line wrap: on
line source

dirname := $(dir $(lastword $(MAKEFILE_LIST)))

lwlib_srcs_local := lw_alloc.c lw_realloc.c lw_free.c lw_error.c lw_expr.c \
	lw_stack.c lw_string.c lw_stringlist.c lw_cmdline.c

lwlib_srcs := $(lwlib_srcs) $(addprefix $(dirname),$(lwlib_srcs_local))