-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (32 loc) · 874 Bytes
/
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
# Makefile of HotelSystem
#
OBJS = hotelmain.o inputmain.o input.o reservation.o delete.o search.o outputmain.o output.o sale.o searchcustom.o searchmain.o revision.o
CC = gcc
HotelSystem:$(OBJS)
$(CC) $(OBJS) -o HotelSystem
hotelmain.o:hotelmain.c hotel.h
$(CC) -c hotelmain.c
inputmain.o:inputmain.c hotel.h
$(CC) -c inputmain.c
input.o:input.c hotel.h
$(CC) -c input.c
reservation.o:reservation.c hotel.h
$(CC) -c reservation.c
delete.o:delete.c hotel.h
$(CC) -c delete.c
search.o:search.c hotel.h
$(CC) -c search.c
outputmain.o:outputmain.c hotel.h
$(CC) -c outputmain.c
sale.o:sale.c hotel.h
$(CC) -c sale.c
output.o:output.c hotel.h
$(CC) -c output.c
searchcustom.o:searchcustom.c hotel.h
$(CC) -c searchcustom.c
searchmain.o:searchmain.c hotel.h
$(CC) -c searchmain.c
revision.o:revision.c hotel.h
$(CC) -c revision.c
clean:
rm -i $(OBJS)