summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-30 10:51:57 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-30 10:51:57 +0000
commit87b7ee9e740940881b0a431f5149512091ff1bcd (patch)
tree25685ad68d327588bb19de0c5b1354ed6891dd5c /Makefile
parentb343945a53dbe40c39fd708f6f933bee2a609483 (diff)
Fix socketio build
* Makefile: New file. * version.h: New file. * socketio.c: Include "version.h" instead of <version.h>. (netfs_S_dir_lookup, netfs_attempt_lookup_improved, netfs_attempt_create_file): Use pthread_mutex_lock/unlock instead of mutex_lock/unlock.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..f029d5ea3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,3 @@
+CFLAGS=-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2
+LDLIBS=-lnetfs -lfshelp -liohelp -lports -lshouldbeinlibc
+all: socketio