comparison Makefile @ 467:a6c9129e5948

Move version header into a common direction to better reflect what it is. The version header isn't really associated with lwlib itself since that is intended to be some generic type routines that can be used by other programs. It is, however, directly associated with lwtools. Thus, it should be related to lwtools itself rather than the more generic lwlib.
author William Astle <lost@l-w.ca>
date Thu, 01 Mar 2018 21:25:51 -0700
parents 35d4213e6657
children ad0efd5835c3
comparison
equal deleted inserted replaced
458:3948c874901b 467:a6c9129e5948
25 CC := $(BUILDTPREFIX)$(CC) 25 CC := $(BUILDTPREFIX)$(CC)
26 AR := $(BUILDTPREFIX)$(AR) 26 AR := $(BUILDTPREFIX)$(AR)
27 RANLIB := $(BUILDTPREFIX)$(RANLIB) 27 RANLIB := $(BUILDTPREFIX)$(RANLIB)
28 endif 28 endif
29 29
30 CPPFLAGS += -I lwlib 30 CPPFLAGS += -I lwlib -Icommon
31 LDFLAGS += -Llwlib -llw 31 LDFLAGS += -Llwlib -llw
32 32
33 CFLAGS ?= -O3 -Wall -Wno-char-subscripts 33 CFLAGS ?= -O3 -Wall -Wno-char-subscripts
34 34
35 MAIN_TARGETS := lwasm/lwasm$(PROGSUFFIX) \ 35 MAIN_TARGETS := lwasm/lwasm$(PROGSUFFIX) \