-CP = /bin/cp -p
-CFLAGS = -g -xarch=v9 $(LOCAL_CFLAGS)
-CCFLAGS = $(CFLAGS)
-LDFLAGS = $(CFLAGS) $(LOCAL_LDFLAGS)
-ASFLAGS = -c $(CFLAGS)
-
-## Special targets to build a program from multiple source files
-##
-ifdef PROG
-
- default: $(PROG) $(PROG).native
-
- ifeq ($(strip $(OBJS)),)
- BCOBJS = $(PROG).bc
- else
- BCOBJS = $(OBJS:.o=.bc)
- endif
-
- $(PROG).linked.bc: $(BCOBJS)
- $(LLINK) -f $(BCOBJS) -o $(PROG).tmp.bc
- $(LOPT) -cleangcc -raise -constprop -dce $(PROG).tmp.bc -o $@ -f
- $(RM) $(PROG).tmp.bc
-
- $(PROG).native: $(OBJS:.o=.c)
- $(CC) $(OBJS:.o=.c) -g $(LOCAL_LCFLAGS) $(CFLAGS) -lm -o $@
-endif