{Changes to enable non-local build}
(srcdir, VPATH): New vars. Use where appropriate. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f30966e6d4
commit
66b260c1ff
6 changed files with 47 additions and 45 deletions
|
|
@ -2,6 +2,9 @@
|
|||
# $Header$
|
||||
#----------------------------------------------------------------
|
||||
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
SRCS = expr.c cpp.c
|
||||
OBJS = expr.o cpp.o
|
||||
|
||||
|
|
@ -12,10 +15,10 @@ CC = @CC@
|
|||
AR = @AR@
|
||||
RANLIB = @RANLIB@
|
||||
CFLAGS = @CFLAGS@
|
||||
INCLUDE = -I. -I../Swig -I../DOH/Include
|
||||
INCLUDE = -I$(srcdir)/. -I$(srcdir)/../Swig -I$(srcdir)/../DOH/Include
|
||||
TARGET = libcpp.a
|
||||
|
||||
.c.o:
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $<
|
||||
|
||||
all: $(TARGET)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue