bin2c: move to utils to be same as other build tools

This commit is contained in:
Jiri Malak 2024-07-15 19:48:53 +02:00
parent db43a4b343
commit 206d3f90d5
3 changed files with 20 additions and 20 deletions

View File

@ -1,5 +1,5 @@
#
# makefile for bin2c.exe and sys.com
# makefile for sys.com
#
# $Id: makefile 1482 2009-07-11 16:59:43Z perditionc $
#
@ -18,31 +18,28 @@ SYS_EXE_dependencies = \
talloc.obj
# *Explicit Rules*
production: bin2c.exe ../bin/sys.com
bin2c.exe: bin2c.c
$(CLC) bin2c.c
production: ../bin/sys.com
../bin/sys.com: sys.com
$(CP) sys.com ..$(DIRSEP)bin
fat12com.h: ../boot/fat12com.bin bin2c.exe
.$(DIRSEP)bin2c.exe ../boot/fat12com.bin fat12com.h fat12com
fat12com.h: ../boot/fat12com.bin ../utils/bin2c.exe
..$(DIRSEP)utils$(DIRSEP)bin2c.exe ../boot/fat12com.bin fat12com.h fat12com
fat16com.h: ../boot/fat16com.bin bin2c.exe
.$(DIRSEP)bin2c.exe ../boot/fat16com.bin fat16com.h fat16com
fat16com.h: ../boot/fat16com.bin ../utils/bin2c.exe
..$(DIRSEP)utils$(DIRSEP)bin2c.exe ../boot/fat16com.bin fat16com.h fat16com
fat32chs.h: ../boot/fat32chs.bin bin2c.exe
.$(DIRSEP)bin2c.exe ../boot/fat32chs.bin fat32chs.h fat32chs
fat32chs.h: ../boot/fat32chs.bin ../utils/bin2c.exe
..$(DIRSEP)utils$(DIRSEP)bin2c.exe ../boot/fat32chs.bin fat32chs.h fat32chs
fat32lba.h: ../boot/fat32lba.bin bin2c.exe
.$(DIRSEP)bin2c.exe ../boot/fat32lba.bin fat32lba.h fat32lba
fat32lba.h: ../boot/fat32lba.bin ../utils/bin2c.exe
..$(DIRSEP)utils$(DIRSEP)bin2c.exe ../boot/fat32lba.bin fat32lba.h fat32lba
oemfat12.h: ../boot/oemfat12.bin bin2c.exe
.$(DIRSEP)bin2c.exe ../boot/oemfat12.bin oemfat12.h oemfat12
oemfat12.h: ../boot/oemfat12.bin ../utils/bin2c.exe
..$(DIRSEP)utils$(DIRSEP)bin2c.exe ../boot/oemfat12.bin oemfat12.h oemfat12
oemfat16.h: ../boot/oemfat16.bin bin2c.exe
.$(DIRSEP)bin2c.exe ../boot/oemfat16.bin oemfat16.h oemfat16
oemfat16.h: ../boot/oemfat16.bin ../utils/bin2c.exe
..$(DIRSEP)utils$(DIRSEP)bin2c.exe ../boot/oemfat16.bin oemfat16.h oemfat16
prf.obj: ../kernel/prf.c
$(CC) $(CFLAGS) ..$(DIRSEP)kernel$(DIRSEP)prf.c
@ -55,7 +52,7 @@ sys.com: $(SYS_EXE_dependencies)
$(CL) $(CFLAGST) $(TINY) $(SYS_EXE_dependencies)
clobber: clean
-$(RM) bin2c.exe bin2c.com sys.com fat*.h oemfat*.h
-$(RM) sys.com fat*.h oemfat*.h
clean:
-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las *.cod *.err status.me

View File

@ -2,7 +2,7 @@
CFLAGS = -I..$(DIRSEP)hdr
production: patchobj.com exeflat.exe upxentry.bin upxdevic.bin
production: patchobj.com bin2c.exe exeflat.exe upxentry.bin upxdevic.bin
patchobj.com: patchobj.c
$(CLT) $(CFLAGS) patchobj.c
@ -16,10 +16,13 @@ upxdevic.bin: upxdevic.asm
exeflat.exe: exeflat.c ../hdr/exe.h
$(CLC) $(CFLAGS) exeflat.c
bin2c.exe: bin2c.c
$(CLC) $(CFLAGS) bin2c.c
clobber: clean
clean:
$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las *.cod *.err status.me
$(RM) exeflat.exe patchobj.com upxentry.bin upxdevic.bin
$(RM) bin2c.exe exeflat.exe patchobj.com upxentry.bin upxdevic.bin