File: Makefile

package info (click to toggle)
picp 0.4d-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 272 kB
  • ctags: 444
  • sloc: ansic: 4,614; makefile: 63
file content (37 lines) | stat: -rw-r--r-- 425 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
#	Makefile
#
#	PICSTART Plus development programmer interface
#

CC=gcc

app=picp

INCLUDES=
OPTIONS=-O2 -Wall

CFLAGS=$(INCLUDES) $(OPTIONS)


OBJECTS = \
	picstart.o \
	serial.o \
	picdev.o \
	record.o \
	parse.o \
	atoi_base.o \
	xReport.o \
	xErrors.o \
	xFiles.o

all : $(app)

$(app) : $(OBJECTS)
	$(CC) $(OBJECTS) -o $(app)

clean :
	rm -f *.o
	rm -f $(app)

install:
	install -m 0755 $(app) $(DESTDIR)/usr/bin/$(app)