pbm compilation was to link class.cpp
This commit is contained in:
@@ -16,11 +16,11 @@ LIBS =
|
||||
INCLUDES = -I$(D_HEADERS)
|
||||
|
||||
D_HEADERS = .
|
||||
HEADERS = Phonebook.class.hpp
|
||||
HEADERS = Phonebook.class.hpp \
|
||||
Phonebook.class.cpp
|
||||
|
||||
D_SRCS = .
|
||||
SRCS = Phonebook.cpp \
|
||||
Phonebook.class.cpp
|
||||
|
||||
D_OBJS = builds
|
||||
OBJS = $(SRCS:%.cpp=$(D_OBJS)/%.o)
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
#ifndef PHONEBOOK_CLASS_HPP
|
||||
# define PHONEBOOK_CLASS_HPP
|
||||
|
||||
class Phonebookk {
|
||||
|
||||
public:
|
||||
|
||||
~Phonebookk( void );
|
||||
Phonebookk( void );
|
||||
|
||||
class Phonebook {
|
||||
public:
|
||||
Phonebook();
|
||||
~Phonebook();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
int main() {
|
||||
|
||||
Phonebookk yellow;
|
||||
Phonebook yellow;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,9 +0,0 @@
|
||||
#include "Sample.class.cpp"
|
||||
|
||||
int main() {
|
||||
|
||||
Sample instance;
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user