uuprog

diff Makefile @ 0:4f628556fa3e

uuprog initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 25 Aug 2011 08:53:01 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Thu Aug 25 08:53:01 2011 +0300
     1.3 @@ -0,0 +1,28 @@
     1.4 +CC = gcc
     1.5 +CFLAGS = -pedantic -Wall -g
     1.6 +
     1.7 +.PHONY: all
     1.8 +all: cat cp echo false ls mkdir pwd rm rmdir sleep sort tee true uname
     1.9 +
    1.10 +cat: cat.o
    1.11 +cp: cp.o
    1.12 +echo: echo.o
    1.13 +false: false.o
    1.14 +ls: ls.o
    1.15 +mkdir: mkdir.o
    1.16 +pwd: pwd.o
    1.17 +rm: rm.o
    1.18 +rmdir: rmdir.o
    1.19 +sleep: sleep.o
    1.20 +sort: sort.o
    1.21 +tee: tee.o
    1.22 +true: true.o
    1.23 +uname: uname.o
    1.24 +
    1.25 +.PHONY: clean
    1.26 +clean:
    1.27 +	rm -f cat cp echo false ls mkdir pwd rm rmdir sleep sort tee true uname *.o
    1.28 +
    1.29 +.PHONY: distclean
    1.30 +distclean: clean
    1.31 +	rm -f Makefile