|
|
1 #
2 # Makefile for kernel functions, part of DGD.
3 #
4 HOST= NETBSD
5 DEFINES=-D$(HOST)
6 DEBUG= -O2
7 CCFLAGS=$(DEFINES) $(DEBUG)
8 CFLAGS= -I. -I.. -I../comp -I../parser $(CCFLAGS)
9 LINTFLAGS=-abcehpruz
10 CC= gcc
11
12 SRC= builtin.c std.c file.c math.c extra.c debug.c
13 OBJ= builtin.o std.o file.o math.o extra.o debug.o
14
15 dgd: table.o $(OBJ)
16 @for i in table.o $(OBJ); do echo kfun/$$i; done > dgd
17
18 comp: table.o $(OBJ)
19 @for i in table.o $(OBJ); do echo ../kfun/$$i; done > comp
20
21 lint:
22 lint $(LINTFLAGS) $(CFLAGS) $(SRC)
23
24 clean:
25 rm -f dgd comp table.o $(OBJ)
26
27
28 $(OBJ): ../dgd.h ../config.h ../host.h ../alloc.h ../error.h ../str.h ../array.h
29 $(OBJ): ../object.h ../xfloat.h ../interpret.h ../data.h
30 std.o file.o: ../path.h ../editor.h
31 std.o: ../comm.h ../call_out.h
32 file.o: ../editor.h
33
34 std.o: ../comp/node.h ../comp/control.h ../comp/compile.h
35 debug.o: ../comp/control.h
36
37 extra.o: ../parser/parse.h
38
39 $(OBJ): kfun.h
40 builtin.o debug.o: table.h
41 table.o: table.h $(OBJ)
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.