aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorAngelo Marletta <angelo.marletta@gmail.com>2012-06-01 02:00:57 +0100
committerAngelo Marletta <angelo.marletta@gmail.com>2012-06-01 02:00:57 +0100
commitfa8c64b0e28125362c2db8897d92073409c0277a (patch)
tree4188eafd3cdd8b449e2ea4a098f1f17cf06e7662 /tests/Makefile
parentb81215b9fbcb0e27d7bb9b4abaa8179ff11b5bfb (diff)
downloadcpulimit-fa8c64b0e28125362c2db8897d92073409c0277a.tar.gz
added directory for tests
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..11f7e2a
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,13 @@
+CC?=gcc
+CFLAGS?=-Wall -O2
+TARGETS=busy
+LIBS?=-lpthread
+
+all:: $(TARGETS)
+
+busy: busy.c $(LIBS)
+ $(CC) -o busy busy.c $(LIBS) $(CFLAGS)
+
+clean:
+ rm -f *~ *.o $(TARGETS)
+
Un proyecto texto-plano.xyz