1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-07 19:29:18 +00:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Christian Groessler 2013-06-07 23:29:49 +02:00
commit 6a92d8b987

View File

@ -12,11 +12,19 @@ PROGS = ar65 \
sim65 \
sp65
CA65_INC := $(abspath ../asminc)
CC65_INC := $(abspath ../include)
LD65_LIB := $(abspath ../lib)
LD65_OBJ := $(abspath ../lib)
LD65_CFG := $(abspath ../cfg)
ifdef prefix
CA65_INC = $(prefix)/lib/cc65/asminc
CC65_INC = $(prefix)/lib/cc65/include
LD65_LIB = $(prefix)/lib/cc65/lib
LD65_OBJ = $(prefix)/lib/cc65/lib
LD65_CFG = $(prefix)/lib/cc65/cfg
else
CA65_INC := $(abspath ../asminc)
CC65_INC := $(abspath ../include)
LD65_LIB := $(abspath ../lib)
LD65_OBJ := $(abspath ../lib)
LD65_CFG := $(abspath ../cfg)
endif
CFLAGS += -MMD -MP -O -std=c89 -I common \
-Wall -Wextra -Wno-char-subscripts -Werror \