This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-971031, openVMS/Alpha, makefile for c-torture/execute


Here's a makefile for c-torture/execute on VMS:


Mon Nov  3 12:04:00 1997  Klaus Kaempf  (kkaempf@progis.de)

	* execute/makefile.vms: New file.

--
#
# Makefile for c-torture/execute
#
# Written by Klaus Kaempf, kkaempf@progis.de
#
#

.SUFFIXES:
.SUFFIXES: .c .obj .exe .run

CC=gcc
CFLAGS=/define=("exit=decc$$exit")

CFILES= $(wildcard *.c)
OFILES= $(CFILES:.c=.obj)
EFILES= $(CFILES:.c=.exe)
RFILES= $(CFILES:.c=.run)

.PHONY: clean

%.run: %.exe
	-$$ run $^

%.obj: %.c
	$(CC) $(CFLAGS) $^

%.exe: %.obj
	$(LD) $(LDFLAGS) /exe=$@ $^ $(LDLIBS) $(CRT0)

all: $(OFILES) $(EFILES) $(RFILES)

clean:
	$$ purge
	$(RM) *.obj;
	$(RM) *.exe;
	$(RM) *.s;


-- 
proGIS Software                 E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf      Fax:    0241-47067-29
Jakobstr. 117                   Voice:  0241-47067-11
D-52064 Aachen                  WWW:	http://www.progis.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]