Added target unlink

This commit is contained in:
Pierre Pronchery 2004-02-29 04:17:54 +00:00
parent 8f0a6f18bf
commit 7a370872e3
2 changed files with 11 additions and 1 deletions

View File

@ -30,6 +30,9 @@ true: true.o
tty: tty.o tty: tty.o
$(CC) $(LDFLAGSF) $(LDFLAGS) -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 basename.o: basename.c
$(CC) $(CFLAGSF) $(CFLAGS) -c basename.c $(CC) $(CFLAGSF) $(CFLAGS) -c basename.c
@ -52,6 +55,9 @@ true.o: true.c
tty.o: tty.c tty.o: tty.c
$(CC) $(CFLAGSF) $(CFLAGS) -c tty.c $(CC) $(CFLAGSF) $(CFLAGS) -c tty.c
unlink.o: unlink.c
$(CC) $(CFLAGSF) $(CFLAGS) -c unlink.c
clean: clean:
$(RM) false.o true.o $(RM) false.o true.o

View File

@ -1,4 +1,4 @@
targets=basename,dirname,false,id,logname,true,tty targets=basename,dirname,false,id,logname,true,tty,unlink
[basename] [basename]
type=binary type=binary
@ -27,3 +27,7 @@ sources=true.c
[tty] [tty]
type=binary type=binary
sources=tty.c sources=tty.c
[unlink]
type=binary
sources=unlink.c