# This Makefile has been generated automatically
# by GccOpts 1.3 (Rodrigo Reyes 1995) and is designed
# to be used with GCC
#
# GccOpts is free software for Amiga.
#
# To compile, just type 'make' in your shell environment.
#


##
## Please do NOT edit this file
##

#OUTP a.out
#CPU: 1
#VER: 1.3
#FPU: 0
#OLV: 3
#LNK: 1
#PRJ: chunky.c c2p.asm p2c.asm 
#OPT: /0000/0000/00/000000000000000000/0000000/00000000000000000000000000000000000

.PHONY : all
.PHONY : clean

# System configuration
SHELL = gnu:bin/sh

# System environment
CC = gcc

CODEGEN = -m68020  -noixemul

OPTIMIZATION = -O2

OPTIONS = -fstrength-reduce

CFLAGS = $(CODEGEN) $(OPTIMIZATION) $(OPTIONS)


LIB = 

OBJ = chunky.o c2p.o p2c.o text.o frames.o

ARCHIVE =

libchunky.a: $(OBJ)
	ar qc libchunky.a *.o
	ranlib libchunky.a
	mv libchunky.a gnu:lib

all: clean a.out

clean:
	rm -f chunky.o a.out


chunky.o: chunky.c chunky.h 

	$(CC) $(CFLAGS) $(INCL) -c chunky.c

text.o: text.c chunky.h
	$(CC) $(CFLAGS) $(INCL) -c text.c

frames.o: frames.c chunky.h
	$(CC) $(CFLAGS) $(INCL) -c frames.c

c2p.o: c2p.asm
	phxass quiet c2p.asm
	hunk2gcc c2p.o
	copy obj.0000.?????? c2p.o
	delete obj.#?

p2c.o: p2c.asm
	phxass quiet p2c.asm
	hunk2gcc p2c.o
	copy obj.0000.?????? p2c.o
	delete obj.#?

#END OF FILE#
