git.droids-corp.org
/
libcmdline.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cmdline: use a macro for maximum token size
[libcmdline.git]
/
build
/
client
/
Makefile
1
SRC = main.c
2
3
OBJS = $(SRC:%.c=%.o)
4
5
PROG = client
6
7
all: $(PROG)
8
9
clean:
10
rm -f $(PROG) $(OBJS)
11
12
$(PROG): $(OBJS) $(LDLIB)
13
$(CC) $(LDFLAGS) -o $@ $(OBJS)
14
15
%.o: %.c
16
$(CC) $(CFLAGS) -c $< -o $@