annotate system/Makefile.in @ 17:a95c130b567b

Shows name in backlog
author thib
date Tue, 12 Aug 2008 18:37:52 +0000
parents 223b71206888
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
223b71206888 Initial import
thib
parents:
diff changeset
1 @SET_MAKE@
223b71206888 Initial import
thib
parents:
diff changeset
2 CC = @CC@
223b71206888 Initial import
thib
parents:
diff changeset
3 CXX = @CXX@
223b71206888 Initial import
thib
parents:
diff changeset
4 LD = @CXX@
223b71206888 Initial import
thib
parents:
diff changeset
5 AR = ar
223b71206888 Initial import
thib
parents:
diff changeset
6 RANLIB = @RANLIB@
223b71206888 Initial import
thib
parents:
diff changeset
7
223b71206888 Initial import
thib
parents:
diff changeset
8 CFLAGS= -I.. $(LOCAL_DEF) @CFLAGS@ @DEFS@ -pthread -O2
223b71206888 Initial import
thib
parents:
diff changeset
9 CXXFLAGS = $(CFLAGS)
223b71206888 Initial import
thib
parents:
diff changeset
10 LDFLAGS = @LDFLAGS@ @LIBS@ -pthread
223b71206888 Initial import
thib
parents:
diff changeset
11
223b71206888 Initial import
thib
parents:
diff changeset
12 SRCS = file.cc \
223b71206888 Initial import
thib
parents:
diff changeset
13 system_config.cc
223b71206888 Initial import
thib
parents:
diff changeset
14
223b71206888 Initial import
thib
parents:
diff changeset
15 OBJS = ${SRCS:.cc=.o}
223b71206888 Initial import
thib
parents:
diff changeset
16
223b71206888 Initial import
thib
parents:
diff changeset
17 all: visarc libsystem.a
223b71206888 Initial import
thib
parents:
diff changeset
18
223b71206888 Initial import
thib
parents:
diff changeset
19 libsystem.a: ${OBJS}
223b71206888 Initial import
thib
parents:
diff changeset
20 rm -f libsystem.a
223b71206888 Initial import
thib
parents:
diff changeset
21 ${AR} clq libsystem.a ${OBJS}
223b71206888 Initial import
thib
parents:
diff changeset
22 $(RANLIB) libsystem.a
223b71206888 Initial import
thib
parents:
diff changeset
23
223b71206888 Initial import
thib
parents:
diff changeset
24 visarc: visarc.o libsystem.a
223b71206888 Initial import
thib
parents:
diff changeset
25 $(LD) -o visarc visarc.o libsystem.a $(LDFLAGS)
223b71206888 Initial import
thib
parents:
diff changeset
26
223b71206888 Initial import
thib
parents:
diff changeset
27 clean:
223b71206888 Initial import
thib
parents:
diff changeset
28 rm -f visarc libsystem.a ${OBJS} *.bak
223b71206888 Initial import
thib
parents:
diff changeset
29
223b71206888 Initial import
thib
parents:
diff changeset
30 .c.o:
223b71206888 Initial import
thib
parents:
diff changeset
31 $(CC) -c $(CFLAGS) -o $@ $<
223b71206888 Initial import
thib
parents:
diff changeset
32
223b71206888 Initial import
thib
parents:
diff changeset
33 .cc.o:
223b71206888 Initial import
thib
parents:
diff changeset
34 $(CXX) -c $(CFLAGS) -o $@ $<
223b71206888 Initial import
thib
parents:
diff changeset
35