Added some methods to get some CPU Informations
This commit is contained in:
parent
c55e7551b2
commit
e9b8368830
5 changed files with 85 additions and 4 deletions
4
makefile
4
makefile
|
|
@ -1,5 +1,5 @@
|
|||
CC= gcc
|
||||
ARGS= -export-dynamic
|
||||
ARGS= -export-dynamic -ansi -std=gnu99
|
||||
CFLAGS= $(shell pkg-config --cflags gtk+-3.0) -I/usr/include/mysql
|
||||
LDLIBS= $(shell pkg-config --libs gtk+-3.0) -L/usr/lib/mysql -lmysqlclient
|
||||
OBJ= main.o logo.o logger.o help.o os_info.o gtk_test.o sql_test.o
|
||||
|
|
@ -15,7 +15,7 @@ logger.o: utils/logger.c
|
|||
help.o: commands/help.c
|
||||
$(CC) $(CFLAGS) -c commands/help.c
|
||||
os_info.o: utils/os_info.c
|
||||
$(CC) $(CFLAGS) -c utils/os_info.c
|
||||
$(CC) $(CFLAGS) $(ARGS) -c utils/os_info.c
|
||||
gtk_test.o: commands/gtk_test.c
|
||||
$(CC) $(CFLAGS) -c commands/gtk_test.c
|
||||
sql_test.o: commands/sql_test.c
|
||||
|
|
|
|||
Reference in a new issue