diff --git a/Makefile b/Makefile deleted file mode 100644 index 6d8b4af..0000000 --- a/Makefile +++ /dev/null @@ -1,6 +0,0 @@ - -all: mt_timer.c test.c - gcc test.c mt_timer.c -pthread -o timer -Wall - -clean: - rm timer diff --git a/examples/Makefile b/examples/Makefile new file mode 100644 index 0000000..74dc187 --- /dev/null +++ b/examples/Makefile @@ -0,0 +1,6 @@ + +all: + gcc example.c ../source/mt_timer.c -I../source -pthread -o timer -Wall + +clean: + rm timer diff --git a/test.c b/examples/example.c similarity index 100% rename from test.c rename to examples/example.c diff --git a/mt_timer.c b/source/mt_timer.c similarity index 100% rename from mt_timer.c rename to source/mt_timer.c diff --git a/mt_timer.h b/source/mt_timer.h similarity index 100% rename from mt_timer.h rename to source/mt_timer.h diff --git a/uthash.h b/source/uthash.h similarity index 100% rename from uthash.h rename to source/uthash.h