-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
53 lines (40 loc) · 1.27 KB
/
makefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include makefile.init
BASEDIR="$(CURDIR)"
RM := rm -rf
UNAME=$(shell uname)
# clang no se banca nested functions. Hay que instalar gcc con brew.
CCMAC=/opt/homebrew/Cellar/gcc/14.2.0_1/bin/gcc-14
# All of the sources participating in the build are defined here
-include make/sources.mk
-include make/objects.mk
-include make/src/subdir.mk
-include make/test/subdir.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
# All Target
all: eg-alumnos-c
# Tool invocations
eg-alumnos-c: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: Cross GCC Linker'
ifeq ($(UNAME), Darwin)
$(CCMAC) -o eg-alumnos-c -I /usr/local/include -L /usr/local/lib/ $(OBJS) $(USER_OBJS) $(LIBS)
else
gcc -o "eg-alumnos-c" $(OBJS) $(USER_OBJS) $(LIBS)
endif
@echo 'Finished building target: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(EXECUTABLES)$(OBJS)$(C_DEPS) eg-alumnos-c
-@echo ' '
.PHONY: all clean dependents
-include makefile.targets