-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
51 lines (32 loc) · 1.05 KB
/
Makefile
File metadata and controls
51 lines (32 loc) · 1.05 KB
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
# Makefile especifico para Proyecto 2 de Sistemas Operativos 1.
# Grupo 20: Astrid, Laura, Jhonaiker y Junior.
# Este Makefile compila el archivo .c principal para el proyecto 2
# descrito como "proyecto_1_op1_AstridLauraJhonaikerJunior.c", este consta
# de un .h "standard_lib.h" para su correcto funcionamiento.
###################################################
# DEFINES:
COMP = cc -c
LINK = cc
FILE = proyect_1_op1_AstridLauraJhonaikerJunior.c
OBJDIR =
OBJS = proyect_1_op1_AstridLauraJhonaikerJunior.o
LIBRERYS = standard_lib.h
PROGRAM = simutransusb
FLAGS = -pthread
###################################################
# Especificacion de Parametros para Make.
.PHONY: all clean
all: $(PROGRAM)
clean:
rm $(PROGRAM)
rm $(OBJS)
# rm $(OBJDIR)
##################################################
# Compilacion de archivos.
$(OBJS): $(FILE) $(LIBRERYS)
$(COMP) $(FILE) $(FLAGS) -o $(OBJS)
$(PROGRAM): $(OBJS)
$(LINK) $(OBJS) $(FLAGS) -o $(PROGRAM)
#$(OBJDIR):
# mkdir $(OBJDIR)
#################################################