summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 0 insertions, 30 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 44dd1d4..0000000
--- a/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-CC=gcc
-CFLAGS=-I. -Wall -fPIC
-MAJOR=0
-MINOR=1
-VERSION=$(MAJOR).$(MINOR)
-NAME=clog
-DESTDIR?=/usr/local/lib
-
-LFLAGS=
-
-%.o: %.c
- $(CC) -c -o $@ $< $(CFLAGS)
-
-lib: lib$(NAME).so.$(VERSION)
-
-lib$(NAME).so:
- ldconfig -v -n
- ln -s lib$(NAME).so.$(MAJOR) lib$(NAME).so
-
-lib$(NAME).so.$(VERSION): $(NAME).o
- $(CC) -shared $^ -o $@
-
-install: lib
- install -Dm644 lib$(NAME).so.$(VERSION) $(DESTDIR)
- install -Dm644 $(NAME).h /usr/include/
-
-clean:
- rm -f lib$(NAME)*
- rm -f src/*.o
-