summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-06-04 00:03:33 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2024-06-04 00:03:33 +0200
commitd2379c77684ac9050e477e2b3ed95928cc83d334 (patch)
tree07c78fb04611661715f660d6d1a157c9cb1e98a2 /Makefile
parentFix degradion (diff)
downloadpamldapd-d2379c77684ac9050e477e2b3ed95928cc83d334.tar
pamldapd-d2379c77684ac9050e477e2b3ed95928cc83d334.tar.gz
pamldapd-d2379c77684ac9050e477e2b3ed95928cc83d334.tar.bz2
pamldapd-d2379c77684ac9050e477e2b3ed95928cc83d334.tar.lz
pamldapd-d2379c77684ac9050e477e2b3ed95928cc83d334.tar.xz
pamldapd-d2379c77684ac9050e477e2b3ed95928cc83d334.tar.zst
pamldapd-d2379c77684ac9050e477e2b3ed95928cc83d334.zip
Diffstat (limited to '')
-rw-r--r--Makefile18
1 files changed, 0 insertions, 18 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 0093c01..0000000
--- a/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-.DEFAULT_GOAL := default
-
-all: pamldapd-x86-64 pamldapd-i386
-default: pamldapd-x86-64
-pamldapd-x86-64: x86-64.build Dockerfile_x86-64
-pamldapd-i386: i386.build Dockerfile_i386
-%.build: src/pamldapd.go
- @echo BUILD ARCH $(shell basename $@ .build)
- docker build -t pamldapd-build-$(shell basename $@ .build)-tmp -f Dockerfile_$(shell basename $@ .build) .
- docker run --name pamldapd-build-$(shell basename $@ .build)-tmp pamldapd-build-$(shell basename $@ .build)-tmp
- docker wait pamldapd-build-$(shell basename $@ .build)-tmp
- docker cp pamldapd-build-$(shell basename $@ .build)-tmp:/root/go/src/pamldapd pamldapd-$(shell basename $@ .build)
- docker rm pamldapd-build-$(shell basename $@ .build)-tmp
-
-clean: x86-64.clean i386.clean
-%.clean:
- @echo CLEAN ARCH $(shell basename $@ .build)
- docker rmi pamldapd-build-$(shell basename $@ .build)-tmp || true