Mercurial > DynamicMail
changeset 36:079bf80f4827
OS/2: Fix building with Arca Noae Package Manager tools.
author | Brian Smith <brian@dbsoft.org> |
---|---|
date | Sun, 15 Sep 2019 21:09:51 -0500 |
parents | 9428dd89df61 |
children | 123dc24dc32b |
files | makefile.emx minimal/makefile.emx |
diffstat | 2 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/makefile.emx Thu Aug 01 13:28:39 2019 -0500 +++ b/makefile.emx Sun Sep 15 21:09:51 2019 -0500 @@ -11,9 +11,9 @@ DEFS = LIBS = -CFLAGS = -O2 -g -Zomf -Zmt -D__ST_MT_ERRNO__ -I. -Wall -LDFLAGS = -lsocket -RCFLAGS = -r +CFLAGS = -O2 -g -Zomf -Zmt -D__ST_MT_ERRNO__ -I. -Wall -I$(DWINCPATH) +LDFLAGS = -lsocket -ldw -ldwcompat -L$(DWLIBPATH) +RCFLAGS = -r -x1 -i . OBJECTS = dmail.o backend.o receive.o send.o parse.o account.o datetime.o @@ -27,7 +27,7 @@ dmail.exe: $(OBJECTS) $(RC) $(RCFLAGS) dmail.rc - $(CC) $(CFLAGS) $(DEFS) -o dmail.exe $(OBJECTS) $(LDFLAGS) -ldw -ldwcompat dmail.def dmail.res + $(CC) $(CFLAGS) $(DEFS) -o dmail.exe $(OBJECTS) $(LDFLAGS) dmail.def dmail.res # $(COMPRESS) dmail.exe clean:
--- a/minimal/makefile.emx Thu Aug 01 13:28:39 2019 -0500 +++ b/minimal/makefile.emx Sun Sep 15 21:09:51 2019 -0500 @@ -11,9 +11,9 @@ DEFS = LIBS = -CFLAGS = -O2 -g -Zomf -Zmt -Zdll -Zcrtdll -D__ST_MT_ERRNO__ -I. -I.. -Wall -LDFLAGS = -lsocket -RCFLAGS = -r +CFLAGS = -O2 -g -Zomf -Zmt -Zdll -Zcrtdll -D__ST_MT_ERRNO__ -I. -I.. -Wall -I$(DWINCPATH) +LDFLAGS = -lsocket -ldw -ldwcompat -L$(DWLIBPATH) +RCFLAGS = -r -x1 -i . OBJECTS = minimal.o @@ -26,7 +26,7 @@ $(CC) $(CFLAGS) -c $< minimal.dll: $(OBJECTS) - $(CC) $(CFLAGS) $(DEFS) -o minimal.dll $(OBJECTS) $(LDFLAGS) -ldw -ldwcompat minimal.def + $(CC) $(CFLAGS) $(DEFS) -o minimal.dll $(OBJECTS) $(LDFLAGS) minimal.def copy minimal.dll .. clean: