-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
59 lines (47 loc) · 914 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
47
48
49
50
51
52
53
54
55
56
57
58
NAME = UDF_reader
CXX = g++
RM = rm
CXXFLAGS = -W -Wall -std=c++0x -DNDEBUG -ggdb3
SOURCES = main.cpp \
AVDP.cpp \
PrimaryVDesc.cpp \
Tag.cpp \
VStructDesc.cpp \
UDF.cpp \
PartitionDescriptor.cpp \
DString.cpp \
LogicalVolumeDescriptor.cpp \
Descriptor.cpp \
UnallocSpaceDesc.cpp \
FileSystem.cpp \
FileSetDesc.cpp \
CommandCD.cpp \
CommandCP.cpp \
CommandDIR.cpp \
CommandEXIT.cpp \
CommandFDISK.cpp \
CommandParser.cpp \
FileSystemTree.cpp \
Node.cpp \
NodeInformation.cpp \
ParseLinkCD.cpp \
ParseLinkCP.cpp \
ParseLinkDIR.cpp \
ParseLinkEXIT.cpp \
ParseLinkFDISK.cpp \
Prompt.cpp \
ICBTag.cpp \
FileEntry.cpp \
FileIdentifier.cpp \
DeviceControl.cpp
OBJS = $(SOURCES:.cpp=.o)
.PHONY: all clean fclean re
$(NAME): $(OBJS)
$(CXX) -o $(NAME) $(OBJS) $(LDFLAGS)
all: $(NAME)
clean:
$(RM) -f $(OBJS)
$(RM) -f *~
fclean: clean
$(RM) -f $(NAME)
re: fclean all