| 1 | # Makefile for Independent JPEG Group's software
|
|---|
| 2 |
|
|---|
| 3 | # This makefile is suitable for Watcom C/C++ 10.0 on MS-DOS (using
|
|---|
| 4 | # dos4g extender), OS/2, and Windows NT console mode.
|
|---|
| 5 | # Thanks to Janos Haide, [email protected].
|
|---|
| 6 |
|
|---|
| 7 | # Read installation instructions before saying "wmake" !!
|
|---|
| 8 |
|
|---|
| 9 | # Uncomment line for desired system
|
|---|
| 10 | SYSTEM=DOS
|
|---|
| 11 | #SYSTEM=OS2
|
|---|
| 12 | #SYSTEM=NT
|
|---|
| 13 |
|
|---|
| 14 | # The name of your C compiler:
|
|---|
| 15 | CC= wcl386
|
|---|
| 16 |
|
|---|
| 17 | # You may need to adjust these cc options:
|
|---|
| 18 | CFLAGS= -4r -ort -wx -zq -bt=$(SYSTEM)
|
|---|
| 19 | # Caution: avoid -ol or -ox; these generate bad code with 10.0 or 10.0a.
|
|---|
| 20 | # Generally, we recommend defining any configuration symbols in jconfig.h,
|
|---|
| 21 | # NOT via -D switches here.
|
|---|
| 22 |
|
|---|
| 23 | # Link-time cc options:
|
|---|
| 24 | !ifeq SYSTEM DOS
|
|---|
| 25 | LDFLAGS= -zq -l=dos4g
|
|---|
| 26 | !else ifeq SYSTEM OS2
|
|---|
| 27 | LDFLAGS= -zq -l=os2v2
|
|---|
| 28 | !else ifeq SYSTEM NT
|
|---|
| 29 | LDFLAGS= -zq -l=nt
|
|---|
| 30 | !endif
|
|---|
| 31 |
|
|---|
| 32 | # Put here the object file name for the correct system-dependent memory
|
|---|
| 33 | # manager file. jmemnobs should work fine for dos4g or OS/2 environment.
|
|---|
| 34 | SYSDEPMEM= jmemnobs.obj
|
|---|
| 35 |
|
|---|
| 36 | # End of configurable options.
|
|---|
|
|---|