Added target logname

This commit is contained in:
Pierre Pronchery 2004-02-29 02:15:57 +00:00
parent c454ca9347
commit cf88c0c80b
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
TARGETS = false true
TARGETS = false logname true
CFLAGSF = -W -Wall -ansi
CFLAGS = -g
LDFLAGSF=
@ -12,6 +12,9 @@ all: $(TARGETS)
false: false.o
$(CC) $(LDFLAGSF) $(LDFLAGS) -o false false.o
logname: logname.o
$(CC) $(LDFLAGSF) $(LDFLAGS) -o logname logname.o
true: true.o
$(CC) $(LDFLAGSF) $(LDFLAGS) -o true true.o
@ -19,6 +22,9 @@ true: true.o
false.o: false.c
$(CC) $(CFLAGSF) $(CFLAGS) -c false.c
logname.o: logname.c
$(CC) $(CFLAGSF) $(CFLAGS) -c logname.c
true.o: true.c
$(CC) $(CFLAGSF) $(CFLAGS) -c true.c

View File

@ -1,9 +1,13 @@
targets=false,true
targets=false,logname,true
[false]
type=binary
sources=false.c
[logname]
type=binary
sources=logname.c
[true]
type=binary
sources=true.c