diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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/ |