git.droids-corp.org
/
libcmdline.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
genconf: fix crash in confnode token completion
[libcmdline.git]
/
build
/
calculator_standalone
/
Makefile
1
SRC = main.c commands.c
2
3
OBJS = $(SRC:%.c=%.o)
4
5
PROG = standalone
6
LDLIB = ../lib/libcmdline.a
7
8
all: $(PROG)
9
10
clean:
11
rm -f $(PROG) $(OBJS)
12
13
$(PROG): $(OBJS) $(LDLIB)
14
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIB)
15
16
%.o: %.c
17
$(CC) $(CFLAGS) -c $< -o $@