File: Makefile

package info (click to toggle)
swig1.3 1.3.11-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,852 kB
  • ctags: 4,764
  • sloc: ansic: 20,489; cpp: 10,052; sh: 7,256; yacc: 2,669; makefile: 2,381; python: 873; java: 762; tcl: 686; perl: 474; lisp: 444; ruby: 370; php: 367
file content (31 lines) | stat: -rw-r--r-- 773 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Generated automatically from Makefile.in by configure.
# ---------------------------------------------------------------
# $Header: /cvs/projects/SWIG/Source/Preprocessor/Makefile.in,v 1.9 2000/02/26 05:06:26 ttn Exp $
#----------------------------------------------------------------

srcdir = .

SRCS          = expr.c cpp.c
OBJS          = expr.o cpp.o

prefix        = /usr
exec_prefix   = ${prefix}

CC            = gcc
AR            = ar
RANLIB        = ranlib
CFLAGS        = -g -O2
INCLUDE       = -I$(srcdir)/. -I$(srcdir)/../Swig -I$(srcdir)/../DOH/Include
TARGET        = libcpp.a

.c.o:
	$(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $<

all: $(TARGET)

$(TARGET): $(OBJS)
	$(AR) cr $(TARGET) $(OBJS)
	$(RANLIB) $(TARGET)

clean:
	rm -f *.o *~ core *.so *.a *_wrap.*