aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6a6a2b7..4dd6934 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ CC = gcc
CFLAGS += -std=c99 -Wall -Wextra -Wshadow -pedantic
CC_WIN32 = i686-w64-mingw32-gcc
+CC_WATCOM_CL = wcl
default: $(NAME)
@@ -14,6 +15,9 @@ $(NAME): $(NAME).c config.h
$(NAME).exe: $(NAME).c config.h
$(CC_WIN32) $(CFLAGS) -o $(NAME).exe $(NAME).c
+$(NAME).com: $(NAME).c config.h
+ $(CC_WATCOM_CL) -bcl=dos -fe=$(NAME).com -za99 -mt -lr $(NAME).c
+
install: $(NAME)
install -d $(DESTDIR)$(PREFIX)/bin/
install -m 755 $(NAME) $(DESTDIR)$(PREFIX)/bin/