diff options
| author | Luke Rewega <lrewega@c32.ca> | 2015-02-13 13:51:56 -0500 |
|---|---|---|
| committer | Luke Rewega <lrewega@c32.ca> | 2015-02-13 13:51:56 -0500 |
| commit | af2b1030083eced0c606d64a8e84db90e87399c1 (patch) | |
| tree | 2f15247b21226a0219e6af9dd72d8253c0ebc007 /Makefile | |
initial import of xwinwrap-0.3
Source from http://sl1200.org/~erik/files/xwinwrap-0.3.tar.bz2
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/ + + |
