diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f5d3b31 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: all64 all32 + +all64: + gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap + -mkdir x86_64 + mv ./xwinwrap ./x86_64 + +all32: + gcc -m32 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap + -mkdir i386 + mv ./xwinwrap ./i386 + +install64: + cp x86_64/xwinwrap /usr/bin + +install32: + cp i386/xwinwrap /usr/bin + +clean: + -rm -rf x86_64/ i386/ + + |
