aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-08-22 15:03:10 +0000
committermerakor <cem@ckyln.com>2020-08-22 15:03:10 +0000
commit9031dc631fa33a1493f5780943f8f888ce530178 (patch)
tree8acd058d02ace545eb026e95a944e7bf9a0b4211 /Makefile
parent01fb58cf040114841800d9cceba9d256278a4682 (diff)
downloadcpt-9031dc631fa33a1493f5780943f8f888ce530178.tar.gz
cpt: remove getopt and use shell library instead.
FossilOrigin-Name: cbe6d1050c67fcce58e754cd03832089ffeb33a5f9455c55e71738ab11e0d056
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 160ea4a..4ae4647 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,6 @@ OBJ = ${SRC:.c=.o}
BIN = ${SRC:.c=}
all: ${BIN}
-ifeq ($(SYSTEM_GETOPT),1)
-else
- ${MAKE} -C getopt-ul
-endif
.c.o:
${CC} ${CFLAGS} -c -o $@ $<
@@ -19,17 +15,12 @@ ${BIN}: ${OBJ}
clean:
rm -f ${BIN} ${OBJ}
- ${MAKE} -C getopt-ul clean
install: all
for bin in src/* ${BIN} contrib/*; do \
install -Dm755 $${bin} ${DESTDIR}${BINDIR}/$${bin##*/}; done
for man in man/*.1; do install -Dm644 $${man} ${DESTDIR}${MAN1}/$${man##*/}; done
for doc in doc/*; do install -Dm644 $${doc} ${DESTDIR}${CPTDOC}/$${doc##*/}; done
-ifeq ($(SYSTEM_GETOPT),1)
-else
- ${MAKE} -C getopt-ul install
-endif
uninstall:
for bin in ${BIN} src/* contrib/*; do \