Skip to content

Commit 0295a56

Browse files
committed
add initial makefile and git ignore
1 parent 9543be4 commit 0295a56

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.o
2+
mqtt-exec

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
LIBS=-lmosquitto
3+
CFLAGS ?= -g -Wall -Werror
4+
5+
mqtt-exec: mqtt-exec.c
6+
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LIBS)

0 commit comments

Comments
 (0)