about summary refs log tree commit diff stats
path: root/mu_summary
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-03-07 15:48:11 -0800
committerKartik Agaram <vc@akkartik.com>2020-03-07 15:48:11 -0800
commit9ee4b34e068550462d440ebc522c7e8ad0c0f2e6 (patch)
tree9aea485dffdbffbc209085890d96854f9fe4993c /mu_summary
parent78da4f7135e1d49b13f25b472b277a7fa82ad261 (diff)
downloadmu-9ee4b34e068550462d440ebc522c7e8ad0c0f2e6.tar.gz
6093
Some much-needed reorganization.
Diffstat (limited to 'mu_summary')
0 files changed, 0 insertions, 0 deletions
5@gmail.com> 2012-02-03 00:00:15 +0000 committer James Booth <boothj5@gmail.com> 2012-02-03 00:00:15 +0000 Added libstrophe examples' href='/danisanti/profani-tty/commit/Makefile?id=9f5e8e7d1edd7f836765c2d751f68dd1e0bee960'>9f5e8e7d ^
5eaf687d ^



cfc23078 ^
a7190ed7 ^
9e63c4a0 ^
a7190ed7 ^
78bd151c ^
b11b8824 ^
f020ec9c ^
78bd151c ^
b11b8824 ^
78bd151c ^
c641ebb8 ^
9f5e8e7d ^
a05a65fe ^
78bd151c ^
a05a65fe ^







9f5e8e7d ^


39627be1 ^
17290593 ^
a05a65fe ^
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
        
                                                                                
                                                                 

                              
                                          
                                                                      

                                                                      
 



                                          
                                          
                      
                              
                      
                                                 
                                                         
              
                                                    
                    
                              
                   
 
                         
                                   







                                                                                 


                       
                           
                 
                       
CC = gcc
WARNS = -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable
LIBS = -lxml2 -lexpat -lssl -lresolv -lncurses -L ~/lib -lstrophe
TESTLIB = -L ~/lib -l headunit
CPPLIB = -lstdc++
CFLAGS = -I ~/include -O3 $(WARNS) $(LIBS)
OBJS = log.o windows.o title_bar.o status_bar.o input_win.o jabber.o \
       profanity.o util.o command.o history.o contact_list.o main.o
TESTOBJS = test_history.o history.o test_contact_list.o contact_list.o

profanity: $(OBJS)
	$(CC) -o profanity $(OBJS) $(LIBS)

log.o: log.h
windows.o: windows.h util.h contact_list.h
title_bar.o: windows.h
status_bar.o: windows.h util.h
input_win.o: windows.h
jabber.o: jabber.h log.h windows.h contact_list.h
profanity.o: log.h windows.h jabber.h command.h history.h
util.o: util.h
command.o: command.h util.h history.h contact_list.h
history.o: history.h
contact_list.o: contact_list.h
main.o: profanity.h

test_history.o: history.h
test_contact_list.o: contact_list.h

testsuite: testsuite.h $(TESTOBJS)
	$(CC) $(CFLAGS) $(CPPLIB) testsuite.c $(TESTOBJS) -o testsuite $(TESTLIB)

.PHONY: test
test: testsuite
	./testsuite

.PHONY: clean
clean:
	rm -f profanity
	rm -f profanity.log
	rm -f *.o
	rm -f testsuite