aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-20 01:18:46 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-05-20 01:18:46 +0100
commit10869208d2dd7be4aabbbb6b09ff4575d6593b1e (patch)
tree73d148260c18e2ef02e397b16837cb2fdba5b97f
parentc6cb5e7f0692fbcea2a6ad5b037680f41564be92 (diff)
downloadnyancat-10869208d2dd7be4aabbbb6b09ff4575d6593b1e.tar.gz
Fix useless build flags
Pass CPPFLAGS and CFLAGS to the compiler. I assume LFLAGS was a typo and should be LDFLAGS instead. Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 1701c11..c77c6cb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,7 @@ OBJECTS = nyancat.o
all: nyancat
nyancat: $(OBJECTS)
- $(CC) $(LFLAGS) $(OBJECTS) -o $@
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
clean:
-rm -f $(OBJECTS) nyancat