makefile
This commit is contained in:
parent
7eb2dccb6d
commit
cd11f56e58
1 changed files with 18 additions and 0 deletions
18
servng/Makefile
Normal file
18
servng/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# makefile
|
||||||
|
CC=cc
|
||||||
|
CPPFLAGS=
|
||||||
|
LIBS=
|
||||||
|
LDFLAGS=
|
||||||
|
CFLAGS+=-ansi
|
||||||
|
SRCS=
|
||||||
|
OBJS=
|
||||||
|
BINS=cidd
|
||||||
|
all: ${BINS}
|
||||||
|
.depend: $(SRCS)
|
||||||
|
mkdep $(CPPFLAGS) $(SRCS)
|
||||||
|
cidd: $(OBJS)
|
||||||
|
$(CC) $(LDFLAGS) -o cidd $(OBJS) $(LIBS)
|
||||||
|
%.o: %.c
|
||||||
|
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
|
||||||
|
clean:
|
||||||
|
rm -f *.core *.o *~ .depend cidd
|
Loading…
Reference in a new issue