home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
program
/
gso22st.zoo
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-12-15
|
593b
|
26 lines
# Makefile for GNU superoptimizer
CC = gcc
DBG = -g
OPT = -O
CFLAGS = $(CPU) $(OPT) $(DBG)
OBJS = superopt.o
FILES = README COPYING Makefile TODO \
superopt.c run_program.def insn.def goal.def superopt.h version.h longlong.h
VERSION = `sed 's,char \*version_string = "\([0-9.]*\)";,\1,' < version.h`
gso: $(OBJS)
$(CC) $(CFLAGS) -o gso $(OBJS)
clean:
rm -f $(OBJS) gso
superopt.o : superopt.c superopt.h run_program.def
dist:
mkdir superopt-$(VERSION)
ln $(FILES) superopt-$(VERSION)
tar cf - superopt-$(VERSION) | compress > superopt-$(VERSION).tar.Z
rm -rf superopt-$(VERSION)