File: Makefile.in

package info (click to toggle)
ledstats 0.3.1-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 212 kB
  • ctags: 8
  • sloc: sh: 2,827; ansic: 76; makefile: 69
file content (33 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (3)
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
# LED Status makefile created by Jeremy Garff
# List of sources, objects, and program.

OBJS	= ledcpu.o
PROG	= ledstats

# List of compiling options.

CC	= gcc
CFLAGS	= -g -Wall 
LDFLAGS = -lpthread -lparportled

prefix = @prefix@
exec_prefix = @exec_prefix@
sbindir = @sbindir@

# Linking the executable.

$(PROG): $(OBJS)	
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)

# Cleanup (removes files that can be rebuilt).

clean:
	-rm -f $(PROG) $(OBJS) *~
	-rm -f Makefile config.cache config.log config.status

install:
	install -c -d $(sbindir)
	install -c ledstats $(sbindir)

uninstall:
	rm -f $(sbindir)/ledstats