mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Update tests because of dependency calculation changes and Echo changes
This commit is contained in:
parent
c7f73a4051
commit
70f115ea4d
35 changed files with 754 additions and 748 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,43 +1,43 @@
|
|||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
ROOT := ..
|
||||
|
||||
-include $(ROOT)/makefile.init
|
||||
|
||||
RM := rm -rf
|
||||
|
||||
# All of the sources participating in the build are defined here
|
||||
-include sources.mk
|
||||
-include $(SUBDIRS:%=%/subdir.mk)
|
||||
-include objects.mk
|
||||
ifneq ($(strip $(DEPS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
-include $(ROOT)/makefile.defs
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
|
||||
# All Target
|
||||
all: lib.a
|
||||
|
||||
# Tool invocations
|
||||
lib.a: $(OBJS) $(USER_OBJS)
|
||||
@echo 'Building target: $@'
|
||||
@echo 'Invoking: MBS30.archiver.gnu'
|
||||
@echo ar -r lib.a $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
@ar -r lib.a $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(OBJS)$(ARCHIVES)$(DEPS) lib.a
|
||||
-@echo ' '
|
||||
|
||||
.PHONY: all clean dependents
|
||||
.SECONDARY:
|
||||
|
||||
-include $(ROOT)/makefile.targets
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
ROOT := ..
|
||||
|
||||
-include $(ROOT)/makefile.init
|
||||
|
||||
RM := rm -rf
|
||||
|
||||
# All of the sources participating in the build are defined here
|
||||
-include sources.mk
|
||||
-include $(SUBDIRS:%=%/subdir.mk)
|
||||
-include objects.mk
|
||||
ifneq ($(strip $(DEPS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
|
||||
-include $(ROOT)/makefile.defs
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
|
||||
# All Target
|
||||
all: lib.a
|
||||
|
||||
# Tool invocations
|
||||
lib.a: $(OBJS) $(USER_OBJS)
|
||||
@echo 'Building target: $@'
|
||||
@echo 'Invoking: MBS30.archiver.gnu'
|
||||
@echo ar -r lib.a $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
@ar -r lib.a $(OBJS) $(USER_OBJS) $(LIBS)
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) $(OBJS)$(ARCHIVES)$(DEPS) lib.a
|
||||
-@echo ' '
|
||||
|
||||
.PHONY: all clean dependents
|
||||
.SECONDARY:
|
||||
|
||||
-include $(ROOT)/makefile.targets
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
LIBS :=
|
||||
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
LIBS :=
|
||||
|
||||
USER_OBJS :=
|
|
@ -1,14 +1,14 @@
|
|||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
C_SRCS :=
|
||||
O_SRCS :=
|
||||
OBJS :=
|
||||
ARCHIVES :=
|
||||
DEPS :=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
SUBDIRS := \
|
||||
. \
|
||||
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
C_SRCS :=
|
||||
O_SRCS :=
|
||||
OBJS :=
|
||||
ARCHIVES :=
|
||||
DEPS :=
|
||||
|
||||
# Every subdirectory with source files must be described here
|
||||
SUBDIRS := \
|
||||
. \
|
||||
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
$(ROOT)/f1.c \
|
||||
$(ROOT)/f2.c
|
||||
|
||||
OBJS += \
|
||||
${addprefix ./, \
|
||||
f1.o \
|
||||
f2.o \
|
||||
}
|
||||
|
||||
DEPS += \
|
||||
${addprefix ./, \
|
||||
f1.d \
|
||||
f2.d \
|
||||
}
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
%.o: $(ROOT)/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MBS30.compiler.gnu.c'
|
||||
@echo gcc -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $<
|
||||
@gcc -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $< && \
|
||||
echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
|
||||
gcc -MM -MG -P -w -O0 -g3 -Wall -c -fmessage-length=0 $< >> $(@:%.o=%.d)
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
################################################################################
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
$(ROOT)/f1.c \
|
||||
$(ROOT)/f2.c
|
||||
|
||||
OBJS += \
|
||||
${addprefix ./, \
|
||||
f1.o \
|
||||
f2.o \
|
||||
}
|
||||
|
||||
DEPS += \
|
||||
${addprefix ./, \
|
||||
f1.d \
|
||||
f2.d \
|
||||
}
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
%.o: $(ROOT)/%.c
|
||||
@echo 'Building file: $<'
|
||||
@echo 'Invoking: MBS30.compiler.gnu.c'
|
||||
@echo gcc -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $<
|
||||
@gcc -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $< && \
|
||||
echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
|
||||
gcc -MM -MG -P -w -O0 -g3 -Wall -c -fmessage-length=0 $< >> $(@:%.o=%.d)
|
||||
@echo 'Finished building: $<'
|
||||
@echo ' '
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include <stdio.h>
|
||||
#include "test_ar.h"
|
||||
|
||||
void f1_ar()
|
||||
{
|
||||
printf ( "Hello from f1_ar.\n" ) ;
|
||||
return ;
|
||||
}
|
||||
#include <stdio.h>
|
||||
#include "test_ar.h"
|
||||
|
||||
void f1_ar()
|
||||
{
|
||||
printf ( "Hello from f1_ar.\n" ) ;
|
||||
return ;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include <stdio.h>
|
||||
#include "test_ar.h"
|
||||
|
||||
void f2_ar()
|
||||
{
|
||||
printf ( "Hello from f2_ar.\n" ) ;
|
||||
return ;
|
||||
}
|
||||
#include <stdio.h>
|
||||
#include "test_ar.h"
|
||||
|
||||
void f2_ar()
|
||||
{
|
||||
printf ( "Hello from f2_ar.\n" ) ;
|
||||
return ;
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
void f1_ar() ;
|
||||
void f2_ar() ;
|
||||
void f1_ar() ;
|
||||
void f2_ar() ;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include <stdio.h>
|
||||
#include "test_ar.h"
|
||||
|
||||
void f1_ar()
|
||||
{
|
||||
printf ( "Hello from f1_ar.\n" ) ;
|
||||
return ;
|
||||
}
|
||||
#include <stdio.h>
|
||||
#include "test_ar.h"
|
||||
|
||||
void f1_ar()
|
||||
{
|
||||
printf ( "Hello from f1_ar.\n" ) ;
|
||||
return ;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include <stdio.h>
|
||||
#include "test_ar.h"
|
||||
|
||||
void f2_ar()
|
||||
{
|
||||
printf ( "Hello from f2_ar.\n" ) ;
|
||||
return ;
|
||||
}
|
||||
#include <stdio.h>
|
||||
#include "test_ar.h"
|
||||
|
||||
void f2_ar()
|
||||
{
|
||||
printf ( "Hello from f2_ar.\n" ) ;
|
||||
return ;
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
void f1_ar() ;
|
||||
void f2_ar() ;
|
||||
void f1_ar() ;
|
||||
void f2_ar() ;
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue