10869208d2
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>
16 lines
257 B
Makefile
16 lines
257 B
Makefile
OBJECTS = nyancat.o
|
|
|
|
all: nyancat
|
|
|
|
nyancat: $(OBJECTS)
|
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
|
|
|
|
clean:
|
|
-rm -f $(OBJECTS) nyancat
|
|
|
|
check: all
|
|
# Unit tests go here. None currently.
|
|
@echo "*** ALL TESTS PASSED ***"
|
|
|
|
.PHONY: all clean check
|