CFLAGS		= -O2
LIBS		= -lm
CC		= gcc
RM		= rm

SRC		= _amiga.c _amiga.h _dos.c _dos.h _linux.c _linux.h _os2.c\
		_os2.h _riscos.c _riscos.h _std.c _std.h acme.c alu.c\
		alu.h config.h data.c data.h flowpo.c flowpo.h global.c\
		global.h item.c item.h mnemo.c mnemo.h platform.c\
		platform.h po.c po.h stream.c stream.h strings.c strings.h

PROGS		= acme
BINDIR		= /usr/local/bin

all: $(PROGS)

acme: $(SRC)
	$(CC) $(LIBS) $(CFLAGS) -o acme acme.c

clean:
	-$(RM) -f *.o $(PROGS) *~ core

install: all
	install -d $(BINDIR)
	install $(PROGS) $(BINDIR)

# DO NOT DELETE
