X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/2dc6356a02ebe2e5c0428cefc18e64882d85b4a6..7902b630c527329a169c5081d6ec9247cc238dc2:/mkfiles.pl diff --git a/mkfiles.pl b/mkfiles.pl index 384a88e6..626141b4 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -539,7 +539,7 @@ print "# TOOLPATH = /opt/gcc/bin\n". "CC = \$(TOOLPATH)cc\n". "\n". -&splitline("CFLAGS = -Wall -g -I. -I.. -I../charset `gtk-config --cflags`")."\n". +&splitline("CFLAGS = -Wall -Werror -g -I. -I.. -I../charset `gtk-config --cflags`")."\n". "XLDFLAGS = `gtk-config --libs`\n". "ULDFLAGS =#\n". "INSTALL=install\n", @@ -604,29 +604,38 @@ print <{obj}; @@ -699,4 +732,13 @@ foreach $d (&deps("X.ppc.o", "", "::", ":")) { print "\tsetfile -t XCOF {Targ}\n"; print "\t{PPCC} ", $d->{deps}->[0], " -o {Targ} {COptions_PPC}\n\n"; } +foreach $d (&deps("X.carbon.o", "", "::", ":")) { + next unless $d->{obj}; + print &splitline(sprintf("%s \xc4 %s", $d->{obj}, join " ", @{$d->{deps}}), + undef, "\xb6"), "\n"; + # The odd stuff here seems to stop afpd getting confused. + print "\techo -n > {Targ}\n"; + print "\tsetfile -t XCOF {Targ}\n"; + print "\t{PPCC} ", $d->{deps}->[0], " -o {Targ} {COptions_Carbon}\n\n"; +} select STDOUT; close OUT;