File: Makefile

package info (click to toggle)
skyeye 1.2.5-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,236 kB
  • ctags: 19,345
  • sloc: ansic: 90,379; sh: 5,188; python: 707; cpp: 417; makefile: 322; exp: 38
file content (25 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
CROSS_COMPILE ?=
EXTRA_CFLAGS ?=

CC = $(CROSS_COMPILE)gcc -g
CFLAGS := $(CFLAGS) $(EXTRA_CFLAGS)

coldfire:memory.o addressing.o i.o cycle.o handlers.o exception.o ../tracer/tracer.o board.o ram.o
memory.o:memory.c
	$(CC) $(CFLAGS) -c -I../tracer memory.c
addressing.o:addressing.c
	$(CC) $(CFLAGS) -c -I../tracer addressing.c
i.o:i.c
	$(CC) $(CFLAGS) -c -I../tracer i.c
cycle.o:cycle.c
	$(CC) $(CFLAGS) -c -I../tracer cycle.c
handlers.o:handlers.c
	$(CC) $(CFLAGS) -c -I../tracer handlers.c
exception.o:exception.c
	$(CC) $(CFLAGS) -c -I../tracer exception.c
board.o:board.c
	$(CC) $(CFLAGS) -c -I../tracer board.c
ram.o:ram.c
	$(CC) $(CFLAGS) -c -I../tracer ram.c
clean:
	rm -f *.o