File: Makefile

package info (click to toggle)
partman-base 147
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,836 kB
  • ctags: 219
  • sloc: ansic: 2,347; sh: 2,248; makefile: 34
file content (21 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CFLAGS=-Wall -Os -D_GNU_SOURCE
LIBS=-lparted

all: parted_server parted_devices partmap

parted_server: parted_server.c
	$(CC) $(CFLAGS) parted_server.c $(LIBS) -o parted_server

parted_devices: parted_devices.c
	$(CC) $(CFLAGS) parted_devices.c $(LIBS) -o parted_devices

partmap: partmap.c
	$(CC) $(CFLAGS) partmap.c $(LIBS) -o partmap

clean:
	rm -f parted_server parted_devices partmap

test:
	cd test && ./conversions

.PHONY: clean