diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-17 09:43:29 +0000 |
---|---|---|
committer | Jeremie Koenig <jk@jk.fr.eu.org> | 2010-08-30 14:14:42 +0200 |
commit | d938e96e59a41d5eaa11040513815b757e58eb0c (patch) | |
tree | 38d1eb581cfeace88ebcd475b44f1a1459654392 /Makefile |
Basic infrastructure
* procfs.h: New file; basic interfaces for procfs nodes.
* procfs.c: New file; implement the basic infrastructure.
* netfs.c: New file; bridge libnetfs and the procfs interfaces.
* main.c: New file; mostly a "Hello, World!" for now.
* Makefile: New file; standalone for now.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..4ae336a3 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +TARGET = procfs +OBJS = procfs.o netfs.o main.o +LIBS = -lnetfs + +CC = gcc +CFLAGS = -Wall -g +CPPFLAGS = + +CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 + +all: $(TARGET) + +$(TARGET): $(OBJS) + $(CC) $(CFLAGS) -o $@ $^ $(LIBS) + +clean: + $(RM) $(TARGET) $(OBJS) |