Made project more in line with Autotools standard.
This commit is contained in:
15
src/Makefile
Normal file
15
src/Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
OBJECTS = nyancat.o
|
||||
|
||||
all: nyancat
|
||||
|
||||
nyancat: $(OBJECTS)
|
||||
$(CC) $(LFLAGS) $(OBJECTS) -o $@
|
||||
|
||||
clean:
|
||||
-rm -f $(OBJECTS) nyancat
|
||||
|
||||
check: all
|
||||
# Unit tests go here. None currently.
|
||||
@echo "*** ALL TESTS PASSED ***"
|
||||
|
||||
.PHONY: all clean check
|
Reference in New Issue
Block a user