Commit 61e500ac authored by rswindell's avatar rswindell
Browse files

Make build rule for echocfg.

parent 8146d299
......@@ -28,6 +28,7 @@ SLASH = /
OFILE = o
LIBFILE = .a
UIFC = ../uifc/
XPDEV = ../xpdev/
ifndef $(os)
......@@ -52,7 +53,7 @@ endif
DELETE = rm -fv
CFLAGS += -DJAVASCRIPT -I../mozilla/js/src -I$(XPDEV)
CFLAGS += -DJAVASCRIPT -I../mozilla/js/src -I$(XPDEV) -I$(UIFC)
ifeq ($(os),FreeBSD) # FreeBSD
CFLAGS += -D_THREAD_SAFE
......@@ -98,7 +99,7 @@ include sbbsdefs.mk # defines $(SBBSDEFS)
SBBSLIB = $(LIBODIR)/sbbs.a
vpath %.c $(XPDEV)
vpath %.c $(XPDEV) $(UIFC)
# Implicit C Compile Rule for utils
$(EXEODIR)/%.o : %.c
......@@ -228,4 +229,14 @@ $(SBBSECHO): \
@echo Linking $@
@$(CC) -o $@ $^
# SBBSecho Configuration Program
$(ECHOCFG): \
$(EXEODIR)/echocfg.o \
$(EXEODIR)/rechocfg.o \
$(EXEODIR)/uifc.o \
$(EXEODIR)/nopen.o \
$(EXEODIR)/str_util.o
@echo Linking $@
@$(CC) -o $@ $^
include depends.mk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment