Add common dir in more search paths

git-svn-id: svn://svn.cc65.org/cc65/trunk@226 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-07-29 16:01:54 +00:00
parent 0a57d32509
commit f9b58c50dd
5 changed files with 30 additions and 15 deletions

View File

@@ -2,7 +2,10 @@
# gcc Makefile for ca65
#
CFLAGS = -g -O2 -Wall -I../common
# Library dir
COMMON = ../common
CFLAGS = -g -O2 -Wall -I$(COMMON)
CC = gcc
LDFLAGS =
@@ -30,7 +33,7 @@ OBJS = condasm.o \
toklist.o \
ulabel.o
LIBS = ../common/common.a
LIBS = $(COMMON)/common.a
EXECS = ca65
@@ -60,6 +63,6 @@ zap: clean
.PHONY: depend dep
depend dep: $(OBJS:.o=.c)
@echo "Creating dependency information"
$(CC) -MM $^ > .depend
$(CC) -I$(COMMON) -MM $^ > .depend