#shell-speak CASE `systype` OPTION decalpha SET CC gcc SET CFLAGS "-ansi -Wall -pedantic -Ddecalpha" ENDOPT OPTION sgi SET CC gcc SET CFLAGS "-g -ansi -Wall -pedantic -DSGI" SET LDFLAGS "-lsun" ENDOPT OPTION sgi-5 SET CC cc SET CFLAGS "-g -DSGI_5" SET LDFLAGS "-lsun" ENDOPT OPTION decmips SET CC cc SET CFLAGS "-g -DNEED_STRDUP" # CC=gcc # CFLAGS="-ggdb -ansi -Wall -DNEED_STRDUP" ENDOPT OPTION linux SET CC gcc SET CFLAGS "-v -Wall -D_SVID_SOURCE -D_POSIX_SOURCE" ENDOPT OPTION sun4-41 SET CC gcc SET CFLAGS "-g -ansi -Wall -DNEED_SYSTEM_PROTO" ENDOPT OPTION sun4-5 SET CC gcc SET CFLAGS "-fno-builtin -g" ENDOPT OPTION MSD-2.6-romp SET CC hc SET CFLAGS "-O -DNO_STDLIB -Dsize_t=int -DNEED_SYSTEM_PROTO -DNEED_STRDUP" ENDOPT OPTION HP-UX-A.08.00 SET CC cc SET CFLAGS "-O -DNEED_STRDUP" ENDOPT DEFAULT echo I do not know how to compile for this system ENDOPT ENDCASE export CC CFLAGS LDFLAGS