c900f0ab4e4cc0f9fd92f859d1658332c2c411d1
David Blume Add a debug target for test...

David Blume authored 8 years ago

1) .PHONEY: debug
David Blume first commit

David Blume authored 8 years ago

2) CXX=g++
David Blume Added some documentation fo...

David Blume authored 3 years ago

3) CPPFLAGS=-c -Wall -std=c++17 -I../include
David Blume first commit

David Blume authored 8 years ago

4) LIBDIR=../lib
David Blume Experimenting with lamda an...

David Blume authored 8 years ago

5) LDFLAGS=-pthread -L $(LIBDIR) -lmy_lib
David Blume first commit

David Blume authored 8 years ago

6) OBJDIR=obj
7) 
David Blume Experiment with a manager/w...

David Blume authored 8 years ago

8) SOURCES=main.cpp main_helper.cpp ui/widget.cpp scoped_set_adder.cpp \
David Blume Add two implementations of...

David Blume authored 5 years ago

9) 	thread_with_lambda.cpp thread_manager.cpp deadlock/deadlock.cpp \
10) 	next_power_of_two
David Blume first commit

David Blume authored 8 years ago

11) # //OBJECTS=$(OBJDIR)$(SOURCES:.cpp=.o)
12) OBJECTS=$(foreach bname, $(basename $(SOURCES)), $(OBJDIR)/$(bname).o)
David Blume Added a routine to cause a...

David Blume authored 8 years ago

13) EXECUTABLE=testcode
David Blume first commit

David Blume authored 8 years ago

14) 
15) all: $(EXECUTABLE)
16) 
David Blume Added a routine to cause a...

David Blume authored 8 years ago

17) debug: CPPFLAGS += -DDEBUG -ggdb
David Blume Add a debug target for test...

David Blume authored 8 years ago

18) debug: $(EXECUTABLE)
19) 
David Blume first commit

David Blume authored 8 years ago

20) $(OBJDIR):
21) 	mkdir $@
22) 
23) $(OBJDIR)/ui:
24) 	mkdir $@
25) 
David Blume Added a routine to cause a...

David Blume authored 8 years ago

26) $(OBJDIR)/deadlock:
27) 	mkdir $@
28) 
David Blume first commit

David Blume authored 8 years ago

29) $(EXECUTABLE): $(OBJECTS) $(LIBDIR)/libmy_lib.a
30) 	$(CXX) $(OBJECTS) $(LDFLAGS) -o $@
31) 
David Blume Added a routine to cause a...

David Blume authored 8 years ago

32) $(OBJDIR)/%.o: %.cpp ../include/my_lib.hpp | $(OBJDIR) $(OBJDIR)/ui $(OBJDIR)/deadlock