File: Makefile

package info (click to toggle)
debian-installer-utils 1.45etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 516 kB
  • ctags: 18
  • sloc: sh: 581; ansic: 106; makefile: 72
file content (22 lines) | stat: -rw-r--r-- 420 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
ifndef TARGETS
TARGETS=mapdevfs log-output
endif

CFLAGS=-Wall -W -Os -fomit-frame-pointer -g
INSTALL=install
STRIPTOOL=strip
STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment

all: $(TARGETS)

mapdevfs: mapdevfs.c
	$(CC) $(CFLAGS) $^ -o $@ -ldebian-installer

log-output: log-output.c
	$(CC) $(CFLAGS) $^ -o $@ -ldebian-installer

strip: $(TARGETS)
	$(STRIP) $^

clean:
	rm -f $(OBJECTS) $(TARGETS)