Makefile - case $CONFIG in if test-f config.sh...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
case $CONFIG in '') if test ! -f config.sh; then (echo "Can't find config.sh."; exit 1) fi 2>/dev/null . ./config.sh ;; esac case "$O" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac echo "Preparing C compilation" $spitshell >Makefile <<!GROK!THIS! INCLUDE_PATH = SHELL = /bin/sh CC = $cc CPP = $cpp CFLAGS = $wkoptimize $ccflags $large -DWORKBENCH -I"$rt_include" -I. \$ (INCLUDE_PATH) CPPFLAGS = $wkoptimize $cppflags $large -DWORKBENCH -I"$rt_include" -I. \$ (INCLUDE_PATH) LDFLAGS = $ldflags CCLDFLAGS = $ccldflags $windows_flags LDSHAREDFLAGS = $ldsharedflags EIFLIB = "$rt_lib/$prefix$wkeiflib$suffix" EIFTEMPLATES = $rt_templates LIBS = $libs MAKE = $make AR = $ar LD = $ld MKDEP = $mkdep \$(DPFLAGS) -- MV = $mv CP = $cp RANLIB = $ranlib RM = $rm -f FILE_EXIST = $file_exist RMDIR = $rmdir X2C = "$x2c" SHAREDLINK = $sharedlink SHAREDLIBS = $sharedlibs SHARED_SUFFIX = $shared_suffix COMMAND_MAKEFILE = START_TEST = $start_test END_TEST = $end_test CREATE_TEST = $create_test SYSTEM_IN_DYNAMIC_LIB = bank1$shared_suffix !GROK!THIS! $spitshell >>Makefile <<'!NO!SUBS!' $ .SUFFIXES:.cpp .o . .c.o: $(CC) $(CFLAGS) -c $< $ .cpp.o: $(CPP) $(CPPFLAGS) -c $< $ SUBDIRS = C1 C2 E1 S
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
EXTERNALS = E all: bank1 a C1/Cobj1.o: Makefile E1/estructure.h
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/03/2010 for the course COMPUTER S CSE 3221 taught by Professor Hui during the Spring '10 term at York University.

Page1 / 4

Makefile - case $CONFIG in if test-f config.sh...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online