1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-02-03 21:52:24 +00:00

Couple of bug fixes to cygwin makefile

[originally from svn r350]
This commit is contained in:
Simon Tatham 1999-12-14 09:29:55 +00:00
parent 5176e1e9bb
commit 3c7d363fd8

View File

@ -74,17 +74,17 @@ print
"RCFLAGS = \$(RCINC) --define WIN32=1 --define _WIN32=1 --define WINVER=0x0400\n". "RCFLAGS = \$(RCINC) --define WIN32=1 --define _WIN32=1 --define WINVER=0x0400\n".
"LIBS = -ladvapi32 -luser32 -lgdi32 -lwsock32 -lcomctl32 -lcomdlg32\n". "LIBS = -ladvapi32 -luser32 -lgdi32 -lwsock32 -lcomctl32 -lcomdlg32\n".
"OBJ=o\n". "OBJ=o\n".
"RES=res\n". "RES=o\n".
"\n"; "\n";
print $store{"objdefs"}; print $store{"objdefs"};
print print
"\n". "\n".
".SUFFIXES:\n". ".SUFFIXES:\n".
"\n". "\n".
"%.o %.obj: %.c\n". "%.o: %.c\n".
"\t\$(CC) \$(FWHACK) \$(CFLAGS) -c \$<\n". "\t\$(CC) \$(FWHACK) \$(CFLAGS) -c \$<\n".
"\n". "\n".
"%.res: %.rc\n". "%.o: %.rc\n".
"\t\$(RC) \$(FWHACK) \$(RCFLAGS) \$<\n". "\t\$(RC) \$(FWHACK) \$(RCFLAGS) \$<\n".
"\n"; "\n";
foreach $p (@projects) { foreach $p (@projects) {
@ -97,7 +97,7 @@ print
"version.o: FORCE\n". "version.o: FORCE\n".
"# Hack to force version.o to be rebuilt always\n". "# Hack to force version.o to be rebuilt always\n".
"FORCE:\n". "FORCE:\n".
"\t\$(CC) \$(FWHACK) \$(CFLAGS) \$(VER) -c \$<\n\n". "\t\$(CC) \$(FWHACK) \$(CFLAGS) \$(VER) -c version.c\n\n".
"clean:\n". "clean:\n".
"\trm -f *.o *.exe *.res\n". "\trm -f *.o *.exe *.res\n".
"\n"; "\n";