Debian Codegraph @

src/Makefile

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 4 — not the installed (fully patched) source.
4 Debian patches touch this file
1 CFLAGS = -O3 -Wall -Wstrict-prototypes
2 #CFLAGS = -O3 -Wall -Wextra -Wstrict-prototypes
3 LIBS = -lm
4 CC = gcc
5 RM = rm
6
7 #SRC =
8
9 PROGS = acme
10 BINDIR = /usr/local/bin
11 USERBIN = $(HOME)/bin
12 OBJS = acme.o alu.o cliargs.o cpu.o dynabuf.o encoding.o flow.o global.o input.o macro.o mnemo.o output.o platform.o pseudoopcodes.o section.o symbol.o tree.o typesystem.o
13
14 all: $(PROGS)
15
16 acme: $(OBJS)
17 $(CC) $(CFLAGS) -o acme $(OBJS) $(LIBS)
18 strip acme
19
20
21 acme.o: config.h platform.h alu.h cpu.h dynabuf.h encoding.h flow.h global.h input.h macro.h mnemo.h output.h pseudoopcodes.h section.h symbol.h version.h acme.h acme.c
22
23 alu.o: config.h platform.h cpu.h dynabuf.h encoding.h global.h input.h section.h symbol.h tree.h alu.h alu.c
24
25 cliargs.o: cliargs.h cliargs.c
26
27 cpu.o: config.h dynabuf.h global.h mnemo.h tree.h cpu.h cpu.c
28
29 dynabuf.o: config.h global.h input.h dynabuf.h dynabuf.c
30
31 encoding.o: encoding.h encoding.c
32
33 flow.o: config.h alu.h dynabuf.h global.h input.h mnemo.h symbol.h tree.h flow.h flow.c
34
35 global.o: config.h platform.h acme.h cpu.h dynabuf.h encoding.h input.h macro.h pseudoopcodes.h section.h symbol.h global.h global.c
36
37 input.o: config.h alu.h dynabuf.h global.h section.h symbol.h tree.h input.h input.c
38
39 macro.o: config.h alu.h dynabuf.h global.h input.h section.h symbol.h tree.h macro.h macro.c
40
41 mnemo.o: config.h alu.h cpu.h dynabuf.h global.h input.h output.h tree.h mnemo.h mnemo.c
42
43 output.o: config.h cpu.h global.h output.h output.c
44
45 platform.o: config.h platform.h platform.c
46
47 pseudoopcodes.o: alu.h flow.h global.h input.h macro.h output.h symbol.h pseudoopcodes.h pseudoopcodes.c
48
49 section.o: config.h dynabuf.h global.h symbol.h tree.h section.h section.c
50
51 symbol.o: config.h alu.h cpu.h dynabuf.h global.h input.h section.h tree.h symbol.h symbol.c
52
53 tree.o: config.h dynabuf.h global.h symbol.h tree.h tree.c
54
55 typesystem.o: config.h global.h typesystem.h typesystem.c
56
57 clean:
58 -$(RM) -f *.o $(PROGS) *~ core
59
60
61 install: all
62 install -d $(BINDIR)
63 install $(PROGS) $(BINDIR)
64
65 userinstall: all
66 install -d $(USERBIN)
67 install $(PROGS) $(USERBIN)
68
69 # DO NOT DELETE