From 7a370872e36cf0c2c2d2646b5d373de461b54466 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 29 Feb 2004 04:17:54 +0000 Subject: [PATCH] Added target unlink --- src/Makefile | 6 ++++++ src/project.conf | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 7448e8d..8a9765d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -30,6 +30,9 @@ true: true.o tty: tty.o $(CC) $(LDFLAGSF) $(LDFLAGS) -o tty tty.o +unlink: unlink.o + $(CC) $(LDFLAGSF) $(LDFLAGS) -o unlink unlink.o + basename.o: basename.c $(CC) $(CFLAGSF) $(CFLAGS) -c basename.c @@ -52,6 +55,9 @@ true.o: true.c tty.o: tty.c $(CC) $(CFLAGSF) $(CFLAGS) -c tty.c +unlink.o: unlink.c + $(CC) $(CFLAGSF) $(CFLAGS) -c unlink.c + clean: $(RM) false.o true.o diff --git a/src/project.conf b/src/project.conf index fe9dc14..e784b64 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,4 +1,4 @@ -targets=basename,dirname,false,id,logname,true,tty +targets=basename,dirname,false,id,logname,true,tty,unlink [basename] type=binary @@ -27,3 +27,7 @@ sources=true.c [tty] type=binary sources=tty.c + +[unlink] +type=binary +sources=unlink.c