diff options
author | Nicholas Tay <nick@windblume.net> | 2024-04-16 20:53:27 +1000 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2024-04-16 20:57:32 +1000 |
commit | 96f6d594e6c36b03431c3f7d560de8f684c71927 (patch) | |
tree | 2f377306bc2e4264b0353f746ab3d6b8f340ed64 /Makefile | |
parent | eee364e8124bfb99079537a789b8aca6476804a9 (diff) | |
download | passgen-96f6d594e6c36b03431c3f7d560de8f684c71927.tar.gz passgen-96f6d594e6c36b03431c3f7d560de8f684c71927.tar.bz2 passgen-96f6d594e6c36b03431c3f7d560de8f684c71927.zip |
Add watcom CL to make
I got the crosscompile working from linux but ideally more changes
coming to get it to work compiling from DOS/Win311 itself
Diffstat (limited to 'Makefile')
-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/ |