summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-06 01:40:34 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-06 01:40:34 +0100
commitb75e0340c503cf3d76631508252cf979faf63a48 (patch)
tree9a3c7b77c7798942b5b31152d15dbfaf4dc83e36
parent6533e74370acfa51653608b1dc5e1292c72970c9 (diff)
downloadcrypto-b75e0340c503cf3d76631508252cf979faf63a48.zip
crypto-b75e0340c503cf3d76631508252cf979faf63a48.tar.gz
Makefiles:remove space between rule and ':'
-rw-r--r--Makefile76
-rw-r--r--Makefile_base14
2 files changed, 45 insertions, 45 deletions
diff --git a/Makefile b/Makefile
index e97a28e..e6f0b1e 100644
--- a/Makefile
+++ b/Makefile
@@ -2,125 +2,125 @@ DIR=.
include Makefile_base
-aes.o : compile aes.c aes.h uint.h
+aes.o: compile aes.c aes.h uint.h
@./compile aes.c
-blowfish.o : compile blowfish.c blowfish.h uint.h
+blowfish.o: compile blowfish.c blowfish.h uint.h
@./compile blowfish.c
-cryptot : load cryptot.o crypto_buffer.a ipv4_scan.o scan_ulong.o \
+cryptot: load cryptot.o crypto_buffer.a ipv4_scan.o scan_ulong.o \
socket_accept.o socket_bind.o socket_conn.o socket_listen.o socket_local.o socket_remote.o socket_tcp.o \
rt.lib uint16_pack.o uint16_unpack.o
@./load c cryptot ipv4_scan.o scan_ulong.o \
socket_accept.o socket_bind.o socket_conn.o socket_listen.o socket_local.o socket_remote.o socket_tcp.o \
`cat rt.lib` uint16_pack.o uint16_unpack.o crypto_buffer.a
-cryptot.o : compile cryptot.c cryptot.h crypto_buffer.h ipv4.h scan.h socket.h
+cryptot.o: compile cryptot.c cryptot.h crypto_buffer.h ipv4.h scan.h socket.h
@./compile cryptot.c
-crypto_api.a : load aes.o des.o blowfish.o twofish.o md4.o md5.o sha1.o sha256.o sha512.o
+crypto_api.a: load aes.o des.o blowfish.o twofish.o md4.o md5.o sha1.o sha256.o sha512.o
@./load s crypto_api.a aes.o des.o blowfish.o twofish.o md4.o md5.o sha1.o sha256.o sha512.o
-crypto_buffer.a : load crypto_buffer.o crypto_buffer_put.o crypto_buffer_get.o u8_read.o u8_write.o \
+crypto_buffer.a: load crypto_buffer.o crypto_buffer_put.o crypto_buffer_get.o u8_read.o u8_write.o \
aes.o des.o blowfish.o twofish.o
@./load s crypto_buffer.a crypto_buffer.o crypto_buffer_get.o crypto_buffer_put.o \
u8_read.o u8_write.o aes.o des.o blowfish.o twofish.o
-crypto_buffer.o : compile crypto_buffer.c crypto_buffer.h
+crypto_buffer.o: compile crypto_buffer.c crypto_buffer.h
@./compile crypto_buffer.c
-crypto_buffer_get.o : compile crypto_buffer_get.c crypto_buffer.h
+crypto_buffer_get.o: compile crypto_buffer_get.c crypto_buffer.h
@./compile crypto_buffer_get.c
-crypto_buffer_put.o : compile crypto_buffer_put.c crypto_buffer.h
+crypto_buffer_put.o: compile crypto_buffer_put.c crypto_buffer.h
@./compile crypto_buffer_put.c
-des.o : compile des.c des.h uint.h
+des.o: compile des.c des.h uint.h
@./compile des.c
-ipv4_scan.o : compile ipv4_scan.c ipv4.h
+ipv4_scan.o: compile ipv4_scan.c ipv4.h
@./compile ipv4_scan.c
-md4.o : compile md4.c md4.h uint.h
+md4.o: compile md4.c md4.h uint.h
@./compile md4.c
-md5.o : compile md5.c md5.h uint.h
+md5.o: compile md5.c md5.h uint.h
@./compile md5.c
-rt.lib : compile load try_clock_gettime.c
+rt.lib: compile load try_clock_gettime.c
@( ( ./compile try_clock_gettime.c && ./load c try_clock_gettime ) \
>/dev/null 2>&1 && exit 0 || echo "-lrt" ) > rt.lib
-scan_ulong.o : compile scan_ulong.c scan.h
+scan_ulong.o: compile scan_ulong.c scan.h
@./compile scan_ulong.c
-sha1.o : compile sha1.c sha1.h uint.h
+sha1.o: compile sha1.c sha1.h uint.h
@./compile sha1.c
-sha256.o : compile sha256.c sha256.h uint.h
+sha256.o: compile sha256.c sha256.h uint.h
@./compile sha256.c
-sha512.o : compile sha512.c sha512.h uint.h
+sha512.o: compile sha512.c sha512.h uint.h
@./compile sha512.c
-socket_accept.o : compile socket_accept.c socket.h
+socket_accept.o: compile socket_accept.c socket.h
@./compile socket_accept.c
-socket_bind.o : compile socket_bind.c socket.h
+socket_bind.o: compile socket_bind.c socket.h
@./compile socket_bind.c
-socket_conn.o : compile socket_conn.c socket.h
+socket_conn.o: compile socket_conn.c socket.h
@./compile socket_conn.c
-socket_listen.o : compile socket_listen.c socket.h
+socket_listen.o: compile socket_listen.c socket.h
@./compile socket_listen.c
-socket_local.o : compile socket_local.c socket.h
+socket_local.o: compile socket_local.c socket.h
@./compile socket_local.c
-socket_remote.o : compile socket_remote.c socket.h
+socket_remote.o: compile socket_remote.c socket.h
@./compile socket_remote.c
-socket_tcp.o : compile socket_tcp.c socket.h
+socket_tcp.o: compile socket_tcp.c socket.h
@./compile socket_tcp.c
-test_crypto_api.o : compile test_crypto_api.c
+test_crypto_api.o: compile test_crypto_api.c
@./compile test_crypto_api.c
-test_crypto_api : load test_crypto_api.o crypto_api.a
+test_crypto_api: load test_crypto_api.o crypto_api.a
@./load c test_crypto_api crypto_api.a
-test_crypto_buffer.o : compile test_crypto_buffer.c
+test_crypto_buffer.o: compile test_crypto_buffer.c
@./compile test_crypto_buffer.c
-test_crypto_buffer : load test_crypto_buffer.o crypto_buffer.a
+test_crypto_buffer: load test_crypto_buffer.o crypto_buffer.a
@./load c test_crypto_buffer crypto_buffer.a
-twofish.o : compile twofish.c twofish.h uint.h
+twofish.o: compile twofish.c twofish.h uint.h
@./compile twofish.c
-uint.h : compile load douint.c
+uint.h: compile load douint.c
@./compile douint.c
@./load c douint
@./douint > uint.h
-uint16_pack.o : compile uint16_pack.c uint.h
+uint16_pack.o: compile uint16_pack.c uint.h
@./compile uint16_pack.c
-uint16_unpack.o : compile uint16_unpack.c uint.h
+uint16_unpack.o: compile uint16_unpack.c uint.h
@./compile uint16_unpack.c
-u8_read.o : compile u8_read.c uint.h
+u8_read.o: compile u8_read.c uint.h
@./compile u8_read.c
-u8_write.o : compile u8_write.c uint.h
+u8_write.o: compile u8_write.c uint.h
@./compile u8_write.c
# HIGH LEVEL SPECIFIC TARGETS
-clean : cleanstd
+clean: cleanstd
@if [ -f cryptot ]; then rm cryptot; fi
@if [ -f crypto_file ]; then rm crypto_file; fi
@if [ -f douint ]; then rm douint; fi
@@ -133,7 +133,7 @@ clean : cleanstd
arch: buildarch
-@./buildarch test.sh mypass
-build : crypto_api.a test_crypto_api crypto_buffer.a test_crypto_buffer cryptot
+build: crypto_api.a test_crypto_api crypto_buffer.a test_crypto_buffer cryptot
-install : build
+install: build
cp cryptot /home/jeyzu/bin
diff --git a/Makefile_base b/Makefile_base
index 8dd8be3..761fc00 100644
--- a/Makefile_base
+++ b/Makefile_base
@@ -14,7 +14,7 @@ default: build
# GENERATE : buildarch - choose - compile - load - testflag
-buildarch : ${DIR}/warn-auto.sh conf-arch LICENSE README AUTHOR Changelog
+buildarch: ${DIR}/warn-auto.sh conf-arch LICENSE README AUTHOR Changelog
@echo -e "$(CYAN)generating buildarch$(NORM)"
@( cat ${DIR}/warn-auto.sh; \
echo "ARCH=`head -1 conf-arch`"; \
@@ -27,7 +27,7 @@ buildarch : ${DIR}/warn-auto.sh conf-arch LICENSE README AUTHOR Changelog
) > buildarch
@chmod 755 buildarch
-choose : ${DIR}/warn-auto.sh
+choose: ${DIR}/warn-auto.sh
@echo -e "$(CYAN)generating choose$(NORM)"
@( cat ${DIR}/warn-auto.sh; \
echo 'result="$$3"'; \
@@ -45,7 +45,7 @@ choose : ${DIR}/warn-auto.sh
) > choose
@chmod 755 choose
-compile : ${DIR}/warn-auto.sh conf-cc
+compile: ${DIR}/warn-auto.sh conf-cc
@echo -e "$(CYAN)generating compile$(NORM)"
@( cat ${DIR}/warn-auto.sh; \
echo 'echo -e "`head -1 conf-cc` -c $(RED)$${1} $(NORM)"'; \
@@ -53,7 +53,7 @@ compile : ${DIR}/warn-auto.sh conf-cc
) > compile
@chmod 755 compile
-load : ${DIR}/warn-auto.sh conf-ld
+load: ${DIR}/warn-auto.sh conf-ld
@echo -e "$(CYAN)generating load$(NORM)"
@( cat ${DIR}/warn-auto.sh; \
echo 'choice=$$1; shift;'; \
@@ -75,7 +75,7 @@ load : ${DIR}/warn-auto.sh conf-ld
) > load
@chmod 755 load
-testflag : ${DIR}/warn-auto.sh
+testflag: ${DIR}/warn-auto.sh
@echo -e "$(CYAN)generating testflag$(NORM)"
@( cat ${DIR}/warn-auto.sh; \
echo 'FLAG="$$1"; shift'; \
@@ -91,12 +91,12 @@ testflag : ${DIR}/warn-auto.sh
@chmod 755 testflag
# HIGH LEVEL GENERAL TARGETS
-buildstd :
+buildstd:
@echo -e "$(CYAN)building `pwd`$(NORM)";
@for I in ${SUBDIR}; do \
( echo -e "$(CYAN)building `pwd`/$$I$(NORM)" && cd $$I && make -s ); \
done;
-cleanstd :
+cleanstd:
@echo -e "$(CYAN)cleaning `pwd`$(NORM)";
@for I in ${SUBDIR}; do ( cd $$I && make -s clean ); done;
@if [ -f conf-arch ]; then if [ -f `head -1 conf-arch` ]; then rm `head -1 conf-arch`; fi; fi