File: Makefile

package info (click to toggle)
daa2iso 0.1.7e-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, squeeze, stretch, wheezy
  • size: 168 kB
  • ctags: 338
  • sloc: ansic: 2,356; makefile: 37
file content (17 lines) | stat: -rw-r--r-- 320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
EXE		= daa2iso
CFLAGS	+= -O2 -s
PREFIX	= /usr/local
BINDIR	= $(DESTDIR)$(PREFIX)/bin
SRC		= $(EXE).c

all:
	$(CC) $(CFLAGS) -c LzmaDec.c
	$(CC) $(CFLAGS) -c tinflate.c
	$(CC) $(SRC) $(CFLAGS) -o $(EXE) LzmaDec.o tinflate.o

install:
	install -m 755 -d $(BINDIR)
	install -m 755 $(EXE) $(BINDIR)/$(EXE)

.PHONY:
	install