# All of the sources participating in the build are defined here C_SRCS = testclass.C testif.C OBJS = testif.o testclass.o C_DEPS = testif.C # All Target all: testclass # Tool invocations testclass: $(OBJS) testclassgen.py @echo 'Building target: $@' @echo 'Invoking: GCC C Linker' $(CXX) -o "testclass" testclass.o testif.o -l python2.5 @echo 'Finished building target: $@' @echo ' ' testif.C: testclass.H python testclassgen.py > testif.C # Other Targets clean: -$(RM) $(OBJS) $(C_DEPS) testclass *.pyc -@echo ' ' .PHONY: all clean dependents .SECONDARY: INCLUDES+= -I. -I /usr/include/python2.5 CXX = g++ CC = gcc WARNFLAGS += -W -Wall DEBUGFLAGS = -g CXXFLAGS += -pipe -funit-at-a-time $(DEBUGFLAGS) $(INCLUDES) $(DEFINES) $(WARNFLAGS) ======================================================================= This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. =======================================================================