lspart
diff Makefile @ 0:29d89c00e611
simple partition table reading test
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 14 Oct 2011 07:45:44 +0300 |
parents | |
children | 99bb8b4ef1bc |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Fri Oct 14 07:45:44 2011 +0300 1.3 @@ -0,0 +1,13 @@ 1.4 +src = $(wildcard *.c) 1.5 +obj = $(src:.c=.o) 1.6 +bin = lspart 1.7 + 1.8 +CC = gcc 1.9 +CFLAGS = -pedantic -Wall -g 1.10 + 1.11 +$(bin): $(obj) 1.12 + $(CC) -o $@ $(obj) $(LDFLAGS) 1.13 + 1.14 +.PHONY: clean 1.15 +clean: 1.16 + rm -f $(obj) $(bin)