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 ar65
#
CFLAGS = -g -O2 -Wall -I../common
# Library dir
COMMON = ../common
CFLAGS = -g -O2 -Wall -I$(COMMON)
CC = gcc
LDFLAGS =
@@ -19,7 +22,7 @@ OBJS = add.o \
objdata.o \
objfile.o
LIBS = ../common/common.a
LIBS = $(COMMON)/common.a
EXECS = ar65
@@ -50,6 +53,6 @@ zap: clean
.PHONY: depend dep
depend dep: $(OBJS:.o=.c)
@echo "Creating dependency information"
$(CC) -MM $^ > .depend
$(CC) -I$(COMMON) -MM $^ > .depend