summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2014-10-25 16:31:26 +0200
committerjaseg <code@jaseg.net>2014-10-25 16:31:26 +0200
commit14b47df4525a53d21c1d88d605f66ffe486e7e75 (patch)
tree61e2bbe05f29e0b6cb7ec1fb6bdc8e8417e6a30a /Makefile
parente9a8e1c85ad32e740cff9ab9ed1511871c39c510 (diff)
downloadlolcat-14b47df4525a53d21c1d88d605f66ffe486e7e75.tar.gz
lolcat-14b47df4525a53d21c1d88d605f66ffe486e7e75.tar.bz2
lolcat-14b47df4525a53d21c1d88d605f66ffe486e7e75.zip
Fixed --help, also added some randomness.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 40dbecd..23dd508 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
all: lolcat
-lolcat: lolcat.c
- gcc -std=c99 -Wall -o lolcat lolcat.c
+lolcat: lolcat.c fgetwc_fix.c
+ gcc -g -std=c99 -Wall -o lolcat lolcat.c fgetwc_fix.c
+# gcc -g -std=c99 -Wall -nostdinc -nostdlib -I/usr/x86_64-linux-uclibc/usr/include -I/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/include -I/usr/include -L/usr/x86_64-linux-uclibc/usr/lib /usr/x86_64-linux-uclibc/usr/lib/crt1.o -lc -lrt -o lolcat lolcat.c