mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-27 06:49:22 +00:00
12fe1826d3
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@5 4df02467-bbd4-4a76-a152-e7ce94205b78
66 lines
2.1 KiB
Makefile
66 lines
2.1 KiB
Makefile
CFLAGS = -O3 -mthrowback -mlibscl -Wall
|
|
LIBS = -lm
|
|
CC = gcc
|
|
RM = rm
|
|
|
|
#SRC =
|
|
|
|
PROGS = acme
|
|
#BINDIR = /usr/local/bin
|
|
#USERBIN = $(HOME)/bin
|
|
OBJS = acme.o alu.o basics.o cliargs.o cpu.o dynabuf.o encoding.o flow.o global.o input.o label.o macro.o mnemo.o output.o platform.o section.o tree.o
|
|
|
|
all: $(PROGS)
|
|
|
|
acme: $(OBJS)
|
|
$(CC) $(CFLAGS) -o !Unsqueezed $(OBJS) $(LIBS)
|
|
Squeeze -f -v !Unsqueezed !ACME.!RunImage
|
|
|
|
acme.o: config.h platform.h acme.h alu.h basics.h cpu.h dynabuf.h encoding.h flow.h global.h input.h label.h macro.h mnemo.h output.h section.h acme.h acme.c
|
|
|
|
alu.o: config.h platform.h cpu.h dynabuf.h encoding.h global.h input.h label.h section.h tree.h alu.h alu.c
|
|
|
|
basics.o: config.h alu.h cpu.h dynabuf.h input.h global.h output.h tree.h basics.h basics.c
|
|
|
|
cliargs.o: cliargs.h cliargs.c
|
|
|
|
cpu.o: config.h alu.h dynabuf.h global.h input.h mnemo.h output.h tree.h cpu.h cpu.c
|
|
|
|
dynabuf.o: config.h acme.h global.h input.h dynabuf.h dynabuf.c
|
|
|
|
encoding.o: config.h alu.h acme.h dynabuf.h global.h output.h input.h tree.h encoding.h encoding.c
|
|
|
|
flow.o: config.h acme.h alu.h dynabuf.h global.h input.h label.h macro.h mnemo.h tree.h flow.h flow.c
|
|
|
|
global.o: config.h platform.h acme.h cpu.h input.h label.h macro.h output.h section.h tree.h global.h global.c
|
|
|
|
input.o: config.h alu.h dynabuf.h global.h section.h tree.h input.h input.c
|
|
|
|
label.o: config.h acme.h alu.h cpu.h dynabuf.h global.h input.h section.h tree.h label.h label.c
|
|
|
|
macro.o: config.h acme.h alu.h dynabuf.h global.h input.h label.h section.h tree.h macro.h macro.c
|
|
|
|
mnemo.o: config.h alu.h cpu.h dynabuf.h global.h input.h output.h tree.h mnemo.h mnemo.c
|
|
|
|
output.o: config.h acme.h alu.h cpu.h dynabuf.h global.h input.h tree.h output.h output.c
|
|
|
|
platform.o: config.h platform.h platform.c
|
|
|
|
section.o: config.h dynabuf.h global.h section.h tree.h section.h section.c
|
|
|
|
tree.o: config.h dynabuf.h global.h label.h tree.h tree.c
|
|
|
|
clean:
|
|
wipe o.* ~c
|
|
# -$(RM) -f *.o $(PROGS) *~ core
|
|
|
|
#install: all
|
|
# install -d $(BINDIR)
|
|
# install $(PROGS) $(BINDIR)
|
|
|
|
#userinstall: all
|
|
# install -d $(USERBIN)
|
|
# install $(PROGS) $(USERBIN)
|
|
|
|
# DO NOT DELETE
|