bxconf has its own set of required libraries, different to the client itself.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@520 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton 2014-11-01 14:52:43 +00:00
parent a05b1160c3
commit 685fc8b25a
1 changed files with 3 additions and 1 deletions

View File

@ -158,13 +158,15 @@ PROGRAM = $(topdir)/bxconfigure
OBJS = ds_cell.o file_cpy.o
BXCONF_LIBS = -lcurses
.c.o:
$(CC) $(CPPFLAGS) $(CFLAGS) -c $<
all: $(PROGRAM)
$(PROGRAM): $(OBJS)
$(CC) -o $(PROGRAM) $(OBJS) $(LIBS)
$(CC) -o $(PROGRAM) $(OBJS) $(BXCONF_LIBS)
clean:
$(RM) $(OBJS) $(PROGRAM) *~