- cc = gcc
- cflags = -Wall -lmosquitto -lpthread -ldl -I /root/x86/mqtt_install/root/x86/mqtt_install/include -L /root/x86/mqtt_install/root/x86/mqtt_install/lib
- main:
- $(cc) server-monitor.c -o server-monitor $(cflags)
-
- .phony:clean
- clean:
- rm *.o server-monitor -fr
-
|