diff options
author | Angelo Marletta <angelo.marletta@gmail.com> | 2012-06-01 02:00:57 +0100 |
---|---|---|
committer | Angelo Marletta <angelo.marletta@gmail.com> | 2012-06-01 02:00:57 +0100 |
commit | fa8c64b0e28125362c2db8897d92073409c0277a (patch) | |
tree | 4188eafd3cdd8b449e2ea4a098f1f17cf06e7662 /tests/Makefile | |
parent | b81215b9fbcb0e27d7bb9b4abaa8179ff11b5bfb (diff) | |
download | cpulimit-fa8c64b0e28125362c2db8897d92073409c0277a.tar.gz |
added directory for tests
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 13 |
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) + |