Debian Codegraph @

src/Makefile

raw symbols ◀ ▶
Source reconstructed at patch state 3 of 4 — not the installed (fully patched) source.
4 Debian patches touch this file
1 CFLAGS = -O3 -Wall -Wstrict-prototypes -g
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) $(CPPFLAGS) -o acme $(LDFLAGS) $(OBJS) $(LIBS)
18
19
20 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
21
22 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
23
24 cliargs.o: cliargs.h cliargs.c
25
26 cpu.o: config.h dynabuf.h global.h mnemo.h tree.h cpu.h cpu.c
27
28 dynabuf.o: config.h global.h input.h dynabuf.h dynabuf.c
29
30 encoding.o: encoding.h encoding.c
31
32 flow.o: config.h alu.h dynabuf.h global.h input.h mnemo.h symbol.h tree.h flow.h flow.c
33
34 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
35
36 input.o: config.h alu.h dynabuf.h global.h section.h symbol.h tree.h input.h input.c
37
38 macro.o: config.h alu.h dynabuf.h global.h input.h section.h symbol.h tree.h macro.h macro.c
39
40 mnemo.o: config.h alu.h cpu.h dynabuf.h global.h input.h output.h tree.h mnemo.h mnemo.c
41
42 output.o: config.h cpu.h global.h output.h output.c
43
44 platform.o: config.h platform.h platform.c
45
46 pseudoopcodes.o: alu.h flow.h global.h input.h macro.h output.h symbol.h pseudoopcodes.h pseudoopcodes.c
47
48 section.o: config.h dynabuf.h global.h symbol.h tree.h section.h section.c
49
50 symbol.o: config.h alu.h cpu.h dynabuf.h global.h input.h section.h tree.h symbol.h symbol.c
51
52 tree.o: config.h dynabuf.h global.h symbol.h tree.h tree.c
53
54 typesystem.o: config.h global.h typesystem.h typesystem.c
55
56 clean:
57 -$(RM) -f *.o $(PROGS) *~ core
58
59
60 install: all
61 install -d $(BINDIR)
62 install $(PROGS) $(BINDIR)
63
64 userinstall: all
65 install -d $(USERBIN)
66 install $(PROGS) $(USERBIN)
67
68 # DO NOT DELETE