summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
21137fd)
Helpful when building a package.
mqtt-arp: mqtt-arp.o
$(CC) -o $@ $< $(LDFLAGS) -lmosquitto
mqtt-arp: mqtt-arp.o
$(CC) -o $@ $< $(LDFLAGS) -lmosquitto
+install: mqtt-arp
+ install -d $(DESTDIR)/etc
+ install -d $(DESTDIR)/usr/sbin
+ install mqtt-arp $(DESTDIR)/usr/sbin/
+ install -m 600 mqtt-arp.conf $(DESTDIR)/etc/
+
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)