version 1.1, 2000/01/09 17:00:52 |
version 1.1.1.3, 2003/09/15 07:09:23 |
|
|
# Changed for use with MinGW32 by HBB |
# Changed for use with MinGW32 by HBB |
# Modified for Cygwin beta 20.1 which includes MINGW32 |
# Modified for Cygwin beta 20.1 which includes MINGW32 |
# Resource compiler is windres.exe in Cygwin b20.1 |
# Resource compiler is windres.exe in Cygwin b20.1 |
# Note png and gif libraries if used have to be build for Cygwin b20.1 with -mno-cygwin option |
# Note png and gif libraries if used have to be built for Cygwin b20.1 |
|
# with -mno-cygwin option |
# |
# |
|
|
# where to place gnuplot.gih helpfile |
# where to place gnuplot.gih helpfile |
|
|
|
|
CC = gcc |
CC = gcc |
LD = gcc |
LD = gcc |
WINCFLAGS = -O2 -mno-cygwin $(WIN32FLAGS) -I$(WIN32INC) -I$(TOP) -D_Windows -D__WIN32__ -DWIN32 -DHAVE_STRNICMP -DREADLINE=1 -DNO_GIH -DGP_INLINE=inline -DHAVE_SLEEP -DANSI_C -DHAVE_GETCWD -DNEAR= -DHAVE_LIBPNG -DHAVE_LIBGD -DNO_SETVBUF -DCYGWIN |
WINCFLAGS = -O2 -mno-cygwin $(WIN32FLAGS) -I$(TOP) -I$(WIN32INC) -D_Windows -D__WIN32__ -DWIN32 -DHAVE_STRNICMP -DREADLINE=1 -DNO_GIH -DGP_INLINE=inline -DHAVE_SLEEP -DANSI_C -DHAVE_GETCWD -DNEAR= -DNO_SETVBUF -DCYGWIN # -DHAVE_LIBPNG # -DHAVE_LIBGD |
WINLDFLAGS = -s -mwindows -mno-cygwin -L/usr/local/lib # -v # -Wl,--verbose |
WINLDFLAGS = -s -mwindows -mno-cygwin -L/usr/local/lib # -v # -Wl,--verbose |
CFLAGS = -g -O2 -I$(TOP) -DNO_GIH -DHAVE_STRNICMP -DREADLINE -DHAVE_SLEEP -DHAVE_GETCWD -DNEAR= -DWIN32 |
CFLAGS = -g -O2 -I$(TOP) -DNO_GIH -DHAVE_STRNICMP -DREADLINE -DHAVE_SLEEP -DHAVE_GETCWD -DNEAR= -DWIN32 |
LDFLAGS = -g #-v # -Wl,--verbose |
LDFLAGS = -g #-v # -Wl,--verbose |
Line 70 WINDOWS = makefile.win makefile.nt README.win win/wcom |
|
Line 71 WINDOWS = makefile.win makefile.nt README.win win/wcom |
|
.c.o: |
.c.o: |
$(CC) -c $(WINCFLAGS) $*.c |
$(CC) -c $(WINCFLAGS) $*.c |
|
|
WINLDLIBS = -lkernel32 -lgdi32 -lpng -lz -lgd |
WINLDLIBS = -lkernel32 -lgdi32 # -lpng -lz # -lgd |
|
|
wgnuplot.exe: $(OBJS) $(WINOBJS) win/wgnuplot.def wgnuplot_res.o texticon.ico grpicon.ico |
wgnuplot.exe: $(OBJS) $(WINOBJS) win/wgnuplot.def wgnuplot_res.o texticon.ico grpicon.ico |
$(LD) $(WINLDFLAGS) -o $@ $(OBJS) $(WINOBJS) wgnuplot_res.o $(WINLDLIBS) |
$(LD) $(WINLDFLAGS) -o $@ $(OBJS) $(WINOBJS) wgnuplot_res.o $(WINLDLIBS) |