lspart

view Makefile @ 1:3bd9cfd79fc0

fixed the size calculation
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 14 Oct 2011 20:41:13 +0300
parents
children 99bb8b4ef1bc
line source
1 src = $(wildcard *.c)
2 obj = $(src:.c=.o)
3 bin = lspart
5 CC = gcc
6 CFLAGS = -pedantic -Wall -g
8 $(bin): $(obj)
9 $(CC) -o $@ $(obj) $(LDFLAGS)
11 .PHONY: clean
12 clean:
13 rm -f $(obj) $(bin)