mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 23:36:22 +00:00
Started work on bash style history
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,13 +1,15 @@
|
||||
CC = gcc
|
||||
WARNS = -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable
|
||||
WARNS = -Werror -Wall -Wextra -Wno-unused-parameter -Wno-unused-but-set-variable \
|
||||
-Wno-unused-result
|
||||
LIBS = -lxml2 -lexpat -lssl -lresolv -lncurses -L ~/lib -lstrophe `pkg-config --libs glib-2.0`
|
||||
TESTLIB = -L ~/lib -l headunit
|
||||
CPPLIB = -lstdc++
|
||||
CFLAGS = -I ~/include -O3 $(WARNS) $(LIBS) `pkg-config --cflags glib-2.0`
|
||||
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
|
||||
profanity.o util.o command.o history.o contact_list.o prof_history.o \
|
||||
main.o
|
||||
TESTOBJS = test_history.o history.o test_contact_list.o contact_list.o \
|
||||
test_util.o util.o
|
||||
test_util.o test_prof_history.o prof_history.o util.o
|
||||
|
||||
profanity: $(OBJS)
|
||||
$(CC) -o profanity $(OBJS) $(LIBS)
|
||||
@@ -23,11 +25,13 @@ 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
|
||||
prof_history.o: prof_history.h
|
||||
main.o: profanity.h
|
||||
|
||||
test_history.o: history.h
|
||||
test_contact_list.o: contact_list.h
|
||||
test_util.o: util.h
|
||||
test_prof_history.o: prof_history.h
|
||||
|
||||
testsuite: testsuite.h $(TESTOBJS)
|
||||
$(CC) $(CFLAGS) $(CPPLIB) testsuite.c $(TESTOBJS) -o testsuite $(TESTLIB)
|
||||
|
||||
Reference in New Issue
Block a user