File: Makefile

package info (click to toggle)
gprbuild 2014dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,564 kB
  • ctags: 195
  • sloc: ada: 110,384; xml: 3,632; sh: 2,810; makefile: 363; ansic: 204; cpp: 89; fortran: 62; asm: 27
file content (16 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: objs/hello

objs/hello: hello.cgpr force
	gprbuild --config=hello.cgpr -Phello

hello.cgpr:
	gprconfig --batch --target=powerpc-elf --config Ada,,zfp --config Asm --config C -o $@

clean: force
	gprclean --config=hello.cgpr -Phello
	$(RM) hello.cgpr

run: all
	powerpc-elf-gdb --batch --command=gdb.run objs/hello

force: