diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -30,6 +30,7 @@ # Executables *.exe +*.com *.out *.app *.i*86 @@ -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/ |