Skip to content
Snippets Groups Projects
Commit 41139d05 authored by rswindell's avatar rswindell
Browse files

The makehelp util is now built in and run from the correct output dir for the

target platform.
parent 5f8924b0
No related branches found
No related tags found
No related merge requests found
......@@ -106,11 +106,11 @@ $(ODIR)/%.o : %.cpp
$(ODIR):
mkdir $(ODIR)
makehelp: makehelp.c
$(CC) makehelp.c -o makehelp
$(MAKEHELP): makehelp.c
$(CC) makehelp.c -o $(MAKEHELP)
$(SCFGHELP): $(OBJS) makehelp
./makehelp $(ODIR)
$(SCFGHELP): $(OBJS) $(MAKEHELP)
$(MAKEHELP) $(ODIR)
# Monolithic Synchronet executable Build Rule
$(SCFG): $(OBJS)
......
......@@ -18,7 +18,7 @@ EXEFILE = .exe
ODIR = bcc.win32 # Executable output directory
XPDEV = ..\..\xpdev
UIFC = ..\..\uifc
CFLAGS = -M -I..;$(UIFC);$(XPDEV) -g1
CFLAGS = -M -I..;$(UIFC);$(XPDEV)
DELETE = echo y | del
.path.c = .;..;$(UIFC);$(XPDEV)
......@@ -54,11 +54,11 @@ OBJS = $(OBJS) $(ODIR)\uifc.$(OFILE)
$(ODIR):
@if not exist $(ODIR) mkdir $(ODIR)
makehelp.exe: makehelp.c
$(CC) $?
$(MAKEHELP): makehelp.c
@$(CC) -q -n$(ODIR) $?
$(SCFGHELP): $(OBJS) makehelp.exe
makehelp $(ODIR)
$(SCFGHELP): $(OBJS) $(MAKEHELP)
@$(MAKEHELP) $(ODIR)
# Monolithic SCFG executable Build Rule
$(SCFG): $(OBJS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment