summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 52f5602..776eae2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
CCOPTS = -O2 --std=gnu18 -Wall -Werror
all:
if [ ! -d obj ]; then mkdir obj; fi
- cc $(CCOPTS) -o obj/meminfo.o -c src/meminfo.c
- cc $(CCOPTS) -o obj/netinfo.o -c src/netinfo.c
- cc $(CCOPTS) -o obj/cpuinfo.o -c src/cpuinfo.c
- cc $(CCOPTS) -o obj/proc.o -c src/proc.c
- cc $(CCOPTS) -o obj/status.o -c src/status.c
+ cc $(CCOPTS) -o obj/meminfo.o -c src/meminfo.c
+ cc $(CCOPTS) -o obj/netinfo.o -c src/netinfo.c
+ cc $(CCOPTS) -o obj/cpuinfo.o -c src/cpuinfo.c
+ cc $(CCOPTS) -o obj/diskinfo.o -c src/diskinfo.c
+ cc $(CCOPTS) -o obj/proc.o -c src/proc.c
+ cc $(CCOPTS) -o obj/status.o -c src/status.c
cc $(CCOPTS) -o cmon obj/*.o src/main.c
valgrind: all

Generated by cgit