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>
This commit is contained in:
Jonathan McCrohan 2012-05-20 01:18:46 +01:00
parent c6cb5e7f06
commit 10869208d2

View File

@ -3,7 +3,7 @@ OBJECTS = nyancat.o
all: nyancat all: nyancat
nyancat: $(OBJECTS) nyancat: $(OBJECTS)
$(CC) $(LFLAGS) $(OBJECTS) -o $@ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
clean: clean:
-rm -f $(OBJECTS) nyancat -rm -f $(OBJECTS) nyancat