Slightly improve build system - dont link in ncurses into mimedb or set_color

darcs-hash:20060615135200-ac50b-e39889a0f566306f3ae1c7a39f2a7dd5c387fa2c.gz
This commit is contained in:
axel 2006-06-15 23:52:00 +10:00
parent 9a9d84c58a
commit 081ab955af

View file

@ -498,9 +498,13 @@ fishd: $(FISHD_OBJS)
fish_tests: $(FISH_TESTS_OBJS)
$(CC) $(FISH_TESTS_OBJS) $(LDFLAGS) -o $@
# mimedb does not need any libraries, so we don't use LDFLAGS here
mimedb: $(MIME_OBJS) doc_src/mimedb.o
$(CC) ${MIME_OBJS} doc_src/mimedb.o $(LDFLAGS) -o $@
$(CC) $(MIME_OBJS) doc_src/mimedb.o -o $@
# count does not need any libraries, so we don't use LDFLAGS here
count: count.o
$(CC) count.o -o $@
set_color: set_color.o doc_src/set_color.o
$(CC) set_color.o doc_src/set_color.o $(LDFLAGS) -o $@