head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2004.10.19.08.43.56;	author heavenzen;	state Exp;
branches;
next	1.3;

1.3
date	2004.09.23.09.41.08;	author heavenzen;	state Exp;
branches;
next	1.2;

1.2
date	2004.09.23.03.25.44;	author heavenzen;	state Exp;
branches;
next	1.1;

1.1
date	2004.09.22.17.37.21;	author heavenzen;	state Exp;
branches;
next	;


desc
@@


1.4
log
@*** empty log message ***
@
text
@#============================================================================
#  Name:
#    Makefile
#
#  Description:
#    Makefile for the Advanced CUnit Test(ACT) library
#
#  The following nmake targets are available in this makefile:
#
#     all           - make .elf and .mod image files (default)
#     clean         - delete object directory and image files
#     new           - clean and make
#     filename.o    - make object file
#
#   The above targets can be made with the following command:
#
#     make [-f Makefile] [target]
#
#  Assumptions:
#    1. The version of gcc is 3.3 or above.
#    2. The version of GNU make is 3.80 or above.
#
#  Notes:
#    None.
#
#============================================================================

#------------------------------------------------------------------------------
# Software tool and Options
#------------------------------------------------------------------------------
CC = gcc
CFLAGS = -O
AR = ar
ARFLAGS = ru
RANLIB = ranlib
RM = rm

#------------------------------------------------------------------------------
# Path and Object Files
#------------------------------------------------------------------------------

OUTPUT = ../../../lib/
TARGET = libact.a

ALL_PATHS = ../include ../../../include

ALL_INCLUDES = $(addprefix -I, $(ALL_PATHS))

SRCSDIR = ../src/

OBJECTS = \
	actassertimpl.o \
	actcreate.o \
	actstdlib.o \
	acttestcaller.o \
	acttestcase.o \
	acttestfixture.o \
	acttestfixturelist.o \
	acttestlist.o \
	acttestlistener.o \
	acttestrepeat.o \
	acttestresult.o \
	acttestrunner.o \
	acttestsuite.o \
	acttestvector.o \
	actunknown.o
	 
OBJS = $(addprefix $(SRCSDIR), $(OBJECTS))

#------------------------------------------------------------------------------
# Target
#------------------------------------------------------------------------------

all: $(TARGET)

$(TARGET): $(OBJS)
	$(AR) $(ARFLAGS) $(OUTPUT)$@@ $(OBJECTS)
	$(RANLIB) $(OUTPUT)$@@

.c.o:	
	$(CC) $(CFLAGS) $(ALL_INCLUDES) $(INCLUDES) -c $<


clean:
	-$(RM) $(OBJECTS) $(OUTPUT)$(TARGET)

new:
	$(MAKE) clean
	$(MAKE)

.PHONY: clean all

#------------------------------------------------------------------------------
# Dependencies
#------------------------------------------------------------------------------
@


1.3
log
@end of file error
@
text
@d53 1
d60 1
d65 2
@


1.2
log
@executable
@
text
@d8 1
a8 1
#   The following nmake targets are available in this makefile:
d21 1
d52 1
d54 9
a62 1
	actassertimpl.o \
a64 14

TEST_FILES = \
	actAssertImpl.o \
	actTestRepeat.o \
	actTestCaller.o \
	actTestCase.o \
	actTestResult.o \
	actTestRunner.o \
	actTestSuite.o

#------------------------------------------------------------------------------
# View Path
#------------------------------------------------------------------------------
vpath %.c ../src
@


1.1
log
@Initial Simple Makefile
@
text
@d1 29
a29 1
# Makefile for the Advanced CUnit Test(ACT) library
d36 6
a41 1
OUTPUT = ../lib/
d43 14
a56 1
OBJS = \
d65 9
d77 1
a77 1
	$(AR) $(ARFLAGS) $(OUTPUT)$@@ $(OBJS)
d80 2
a81 2
.c.o:
	$(CC) $(CFLAGS) $(INCLUDES) -c $<
a82 7
actAssertImpl.o: AssertImpl.h stdImpl.h
actTestRepeat.o: RepeatedTest.h Test.h
actTestCaller.o: actTestCaller.h actTestResult.h actTestListener.h actTestCase.h actTest.h
actTestCase.o: actTestCase.h actTestResult.h actTestListener.h actTest.h
actTestResult.o: actTestResult.h actTestListener.h actTest.h
actTestRunner.o: actTestRunner.h actTestResult.h actTestListener.h actTest.h actstdImpl.h actconfig.h
actTestSuite.o: actTestSuite.h actTestResult.h actTestListener.h actTest.h
d85 1
a85 1
	-$(RM) $(OBJS) $(TARGET)
d87 3
a89 2
vpath %c ../src
vpath %h ../include ../../../include
d92 4
@

