Procházet zdrojové kódy

修改makefile

master
17607550577 před 4 roky
rodič
revize
a80cdcf8f6
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1
    2
      Makefile
  2. 1
    0
      server-monitor.c

+ 1
- 2
Makefile Zobrazit soubor

@@ -1,6 +1,5 @@
1 1
 cc  = gcc 
2
-cflags = -lmosquitto -lpthread -ldl -I /home/xh/share/debug/mqtt/pc/mqtt_install/home/xh/share/debug/mqtt/pc/mqtt_install/include -L /home/xh/share/debug/mqtt/pc/mqtt_install/home/xh/share/debug/mqtt/pc/mqtt_install/lib
3
-
2
+cflags = -lmosquitto -lpthread -ldl
4 3
 
5 4
 main:
6 5
 	$(cc) server-monitor.c -o server-monitor $(cflags)

+ 1
- 0
server-monitor.c Zobrazit soubor

@@ -989,6 +989,7 @@ int get_sata_hddtemp(char *device, int *value)
989 989
     }
990 990
     */
991 991
 
992
+
992 993
     int fd = 0;
993 994
     fd = open(device, O_RDONLY | O_NONBLOCK);
994 995
 

Načítá se…
Zrušit
Uložit