projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix qos dependency on iptables-mod-conntrack-extra for CONNMARK (closes: #4035)
[oweals/openwrt.git]
/
package
/
gpioctl
/
src
/
Makefile
1
PROGS = gpioctl
2
3
INSTDIR = $(prefix)/usr/bin
4
INSTMODE = 0755
5
INSTOWNER = root
6
INSTGROUP = root
7
8
OBJS = main.o
9
10
all: $(PROGS)
11
$(PROGS): $(OBJS)
12
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
13
$(STRIP) $@
14
15
%.o: %.c
16
$(CC) -c $(CFLAGS) $^ -o $@
17
18
install: $(PROGS)
19
$(INSTALL) -d $(INSTDIR)
20
$(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(PROGS) $(INSTDIR)
21
22
clean:
23
rm -f $(PROGS) *.o core
24