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:
parent
c6cb5e7f06
commit
10869208d2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user