aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbhackerozzo <bhackerozzo@3b445381-d045-0410-9223-e17ecdb95f4b>2008-08-28 00:32:21 +0000
committerbhackerozzo <bhackerozzo@3b445381-d045-0410-9223-e17ecdb95f4b>2008-08-28 00:32:21 +0000
commit20cad7b4efc241a438c7134cc2bfff5f9a8db2f6 (patch)
tree15ae3cfccb5fb88353916dff377cd1cd5ca82911 /Makefile
parent0343c0946a0d4dba4bf161fd992ee6abb49fa955 (diff)
downloadcpulimit-20cad7b4efc241a438c7134cc2bfff5f9a8db2f6.tar.gz
simplified and lightweight control algorithm
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 261a76a..7bd54ec 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,6 @@ all:: $(TARGETS)
cpulimit: cpulimit.c $(LIBS)
$(CC) -o cpulimit cpulimit.c $(LIBS) -lrt $(CFLAGS)
-ptest: ptest.c process.o procutils.o list.o
- $(CC) -o ptest ptest.c process.o procutils.o list.o -lrt $(CFLAGS)
-
process.o: process.c process.h
$(CC) -c process.c $(CFLAGS)
@@ -20,6 +17,9 @@ procutils.o: procutils.c procutils.h
list.o: list.c list.h
$(CC) -c list.c $(CFLAGS)
+ptest: ptest.c
+ $(CC) -o ptest ptest.c -lrt $(CFLAGS)
+
clean:
rm -f *~ *.o $(TARGETS)
Un proyecto texto-plano.xyz