File: Makefile

package info (click to toggle)
ebook-speaker 2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 528 kB
  • sloc: ansic: 3,342; makefile: 34; sh: 23
file content (18 lines) | stat: -rw-r--r-- 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC      = gcc
CFLAGS  = -Wall -g 
PREFIX  = /usr/local/
LD      = $(CC)
LDLIBS  = -lncursesw -lidn -lsox -lzip -lmagic
OFILES  = eBook-speaker.o

all: $(OFILES)
	$(LD) $(OFILES) $(LDLIBS) -o eBook-speaker

eBook-speaker.o: eBook-speaker.c
	$(CC) $(CFLAGS) -D PREFIX=\"$(PREFIX)\" -c $< -o $@

clean:
	rm -f *.o eBook-speaker

install:        
	@./install.sh $(PREFIX)