Permalink
Browse files

types addded to build and link in Makefile

  • Loading branch information...
1 parent 35fc7e7 commit 21838201108bde6056b464c3551d41db14ac61a8 @fiedukow fiedukow committed Apr 29, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Makefile
View
@@ -6,7 +6,7 @@ GTKI=`pkg-config gtkmm-2.4 --cflags`
GTKL=`pkg-config gtkmm-2.4 --libs`
LFLAGS=-ltinyxml
-all: obj/ChatWindow.o obj/main.o obj/Socket.o obj/Exception.o obj/Dialog.o obj/DialogManager.o obj/AliasManager.o obj/Config.o
+all: obj/ChatWindow.o obj/main.o obj/Socket.o obj/Exception.o obj/Dialog.o obj/DialogManager.o obj/AliasManager.o obj/Config.o obj/types.o
g++ $^ $(GEN) $(GTKL) $(LFLAGS) -o bin/ChaTIN
obj/main.o: src/main.cpp src/ChatWindow.hpp
g++ src/main.cpp -c $(GEN) $(GTKI) -o $@
@@ -24,6 +24,8 @@ obj/DialogManager.o: src/DialogManager.cpp src/DialogManager.hpp
g++ src/DialogManager.cpp -c $(GEN) $(GLIBI) -o $@
obj/Config.o: src/Config.cpp src/Config.hpp
g++ src/Config.cpp -c $(GEN) -o $@
+obj/types.o: src/types.cpp src/types.hpp
+ g++ src/types.cpp -c $(GEN) $(GLIBI) -o $@
clean:
rm obj/*.o
debug: GEN += -DDEBUG -Wall -Wextra -g3

0 comments on commit 2183820

Please sign in to comment.