summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2023-01-03 15:06:45 -0500
committerCara Salter <cara@devcara.com>2023-01-03 15:07:26 -0500
commit6091fb5349f6cda69d83304343f9d1dd9c97e08a (patch)
tree612ad3eb236352a88590682be91a1a2276aafd76 /Makefile
parent239d9a3008e2d1846e0cd657460e92170c90df03 (diff)
downloadclog-6091fb5349f6cda69d83304343f9d1dd9c97e08a.tar.gz
clog-6091fb5349f6cda69d83304343f9d1dd9c97e08a.zip
scons
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
-