blob: b41de95d3ab7271575af94620b0d3444efdfb6b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# VxWorks 5.2 with Green Hills 1.8.8
# *not* using Orbix
CC = cxvxppc
CXX = $(CC)
CCFLAGS += --no_rtti
DLD = $(CXX)
LD = $(CXX)
LIBS += /appl/newgreen/vxppc603/indlib.o
PIC =
AR = ax
ARFLAGS = rv
RANLIB = /bin/true
PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \
$(COMPILE.cc) -o gcctemp.o gcctemp.c && \
$(CXX) $(INCLDIRS) $^ $(LDFLAGS) $(LIBS); \
status=$$?; rm -f gcctemp.c a.out*; exit $$status)
#### don't build shared objects:
BUILD = $(VOBJS) $(VLIB) $(VBIN)
|