File: Makefile

package info (click to toggle)
quik 2.1-9
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 364 kB
  • ctags: 553
  • sloc: ansic: 3,791; asm: 475; makefile: 103; perl: 74; sh: 44
file content (19 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ASFLAGS = -D__ASSEMBLY__ -I../include
LDFLAGS = -T ld.script -Ttext 3f4000

all:	first.b

first.b: first
	size first
#	../util/elfextract first first.b
	dd if=first of=first.b bs=1k count=1 skip=16

OBJS = first.o

first.o: ../include/layout.h

first: $(OBJS)
	ld -o first $(LDFLAGS) $(OBJS)

clean:
	rm -f *.o *.s *~ first first.b