-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
65 lines (43 loc) · 2.49 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
54
55
56
57
58
59
60
61
62
63
64
65
CC = g++
CFLAGS = -c -Wall
all: eXplorer
eXplorer: eXplorer.o copy_block.o make_directory.o create_file.o create_directory.o copy_files_inside_directory.o copy_directory.o delete_directory.o delete_file.o goto_directory.o list_directory.o make_source_directory.o move_directory.o move_file.o rename_file.o search_file_or_directory.o snapshot_directory.o trim_pathname.o
$(CC) eXplorer.o copy_block.o create_file.o make_directory.o create_directory.o copy_files_inside_directory.o copy_directory.o delete_directory.o delete_file.o goto_directory.o list_directory.o make_source_directory.o move_directory.o move_file.o rename_file.o search_file_or_directory.o snapshot_directory.o trim_pathname.o -o eXplorer
eXplorer.o: eXplorer.cpp
$(CC) $(CFLAGS) eXplorer.cpp
copy_block.o: commandmode/copy_block.cpp
$(CC) $(CFLAGS) commandmode/copy_block.cpp
create_file.o: commandmode/create_file.cpp
$(CC) $(CFLAGS) commandmode/create_file.cpp
create_directory.o: commandmode/create_directory.cpp
$(CC) $(CFLAGS) commandmode/create_directory.cpp
copy_files_inside_directory.o: commandmode/copy_files_inside_directory.cpp
$(CC) $(CFLAGS) commandmode/copy_files_inside_directory.cpp
copy_directory.o: commandmode/copy_directory.cpp
$(CC) $(CFLAGS) commandmode/copy_directory.cpp
delete_directory.o: commandmode/delete_directory.cpp
$(CC) $(CFLAGS) commandmode/delete_directory.cpp
delete_file.o: commandmode/delete_file.cpp
$(CC) $(CFLAGS) commandmode/delete_file.cpp
goto_directory.o: commandmode/goto_directory.cpp
$(CC) $(CFLAGS) commandmode/goto_directory.cpp
list_directory.o: commandmode/list_directory.cpp
$(CC) $(CFLAGS) commandmode/list_directory.cpp
make_directory.o: commandmode/make_directory.cpp
$(CC) $(CFLAGS) commandmode/make_directory.cpp
make_source_directory.o: commandmode/make_source_directory.cpp
$(CC) $(CFLAGS) commandmode/make_source_directory.cpp
move_directory.o: commandmode/move_directory.cpp
$(CC) $(CFLAGS) commandmode/move_directory.cpp
move_file.o: commandmode/move_file.cpp
$(CC) $(CFLAGS) commandmode/move_file.cpp
rename_file.o: commandmode/rename_file.cpp
$(CC) $(CFLAGS) commandmode/rename_file.cpp
search_file_or_directory.o: commandmode/search_file_or_directory.cpp
$(CC) $(CFLAGS) commandmode/search_file_or_directory.cpp
snapshot_directory.o: commandmode/snapshot_directory.cpp
$(CC) $(CFLAGS) commandmode/snapshot_directory.cpp
trim_pathname.o: commandmode/trim_pathname.cpp
$(CC) $(CFLAGS) commandmode/trim_pathname.cpp
clean:
rm -rf *o commandmode