Top/ps process monitor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
635 B

TARGET = ../evisum
OBJECTS = system.o disks.o process.o ui.o main.o
default: $(TARGET)
$(CC) $(OBJECTS) $(shell pkg-config --libs $(PKGS)) $(LIBS) $(LDFLAGS) -o $@
main.o: main.c
$(CC) -c $(CFLAGS) $(shell pkg-config --cflags $(PKGS)) main.c -o $@
system.o: system.c
$(CC) -c $(CFLAGS) system.c -o $@
disks.o: disks.c
$(CC) -c $(CFLAGS) $(shell pkg-config --cflags $(PKGS)) disks.c -o $@
process.o: process.c
$(CC) -c $(CFLAGS) $(shell pkg-config --cflags $(PKGS)) process.c -o $@
ui.o: ui.c
$(CC) -c $(CFLAGS) $(shell pkg-config --cflags $(PKGS)) ui.c -o $@
-rm $(OBJECTS)
-rm $(TARGET)