File: Makefile

package info (click to toggle)
partitioner 0.48
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 376 kB
  • ctags: 19
  • sloc: ansic: 142; sh: 42; makefile: 31
file content (21 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

CC = gcc
CFLAGS = -W -Wall -Os -DARCH_TEXT='"$(DEB_HOST_ARCH)"'
LD = gcc
LDFLAGS = -ldebconfclient -ldebian-installer -lparted -ldl

all: partitioner

partitioner: main.o
	${LD} ${LDFLAGS} -o partitioner $?

main.o: main.c
	${CC} ${CFLAGS} -c main.c

clean:
	rm -f *.o

distclean: clean
	rm -f partitioner