Skip to content

Commit

Permalink
Make hosthd also
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaerr committed Nov 24, 2024
1 parent a331044 commit a1018c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion elkscmd/debug/disasm.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ELKS disassembler header file */

#ifdef __ELKS__
#if defined(__ia16__) || defined(__WATCOMC__)
#include <sys/cdefs.h>
#else
#define noinstrument
Expand Down
3 changes: 2 additions & 1 deletion elkscmd/misc_utils/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
miniterm
compress
hostcompress
ed
float
tar
Expand All @@ -15,3 +14,5 @@ uncompress
uuencode
uudecode
zcat
hostcompress
hosthd
5 changes: 4 additions & 1 deletion elkscmd/misc_utils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(BASEDIR)/Makefile-rules
#TODO: fix uncompress zcat lpfilter disabled
PRGS = tar miniterm ed od hd time kilo mined sleep tty uuencode uudecode compress

HOSTPRGS = hostcompress
HOSTPRGS = hostcompress hosthd

all: $(PRGS)

Expand Down Expand Up @@ -54,6 +54,9 @@ uuencode: uuencode.o
uudecode: uudecode.o
$(LD) $(LDFLAGS) -o uudecode uudecode.o $(LDLIBS)

hosthd: hd.c
$(HOSTCC) $(HOSTCFLAGS) -D__far= hd.c -o $@

hostcompress: compress.c
$(HOSTCC) $(HOSTCFLAGS) compress.c -o $@

Expand Down

0 comments on commit a1018c2

Please sign in to comment.