This commit is contained in:
parent
04611b6b9d
commit
da2ec0b2a2
5
.gitignore
vendored
5
.gitignore
vendored
@ -5,3 +5,8 @@
|
||||
.DS_Store
|
||||
build/
|
||||
dist-dos/
|
||||
*.obj
|
||||
*.OBJ
|
||||
*.log
|
||||
*.LOG
|
||||
|
||||
|
||||
15
MAKEFILE.TC
15
MAKEFILE.TC
@ -25,19 +25,26 @@ README_DOS = READ-DOS.TXT
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) -c -o$*.obj $<
|
||||
|
||||
all: $(BUILDDIR)
|
||||
$(BUILDDIR)\cnadd.exe \
|
||||
# ────────────────────────────────────────────────
|
||||
# Main targets – split to avoid long command lines
|
||||
# ────────────────────────────────────────────────
|
||||
|
||||
all: build-exes build-support-files
|
||||
|
||||
build-exes: $(BUILDDIR)\cnadd.exe \
|
||||
$(BUILDDIR)\cndump.exe \
|
||||
$(BUILDDIR)\cncount.exe \
|
||||
$(BUILDDIR)\cndel.exe \
|
||||
$(BUILDDIR)\cnfind.exe \
|
||||
$(BUILDDIR)\cnhelp.exe \
|
||||
$(BUILDDIR)\$(INSTALL_FILE) \
|
||||
$(BUILDDIR)\cnhelp.exe
|
||||
|
||||
build-support-files: $(BUILDDIR)\$(INSTALL_FILE) \
|
||||
$(BUILDDIR)\$(README_DOS)
|
||||
|
||||
$(BUILDDIR):
|
||||
if not exist $(BUILDDIR) mkdir $(BUILDDIR)
|
||||
|
||||
# Individual exe rules (unchanged)
|
||||
$(BUILDDIR)\cnadd.exe: $(SRCDIR)\cnadd.c $(INCDIR)\platform.h $(INCDIR)\config.h
|
||||
$(CC) $(CFLAGS) -e$(BUILDDIR)\cnadd.exe $(SRCDIR)\cnadd.c
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user