Made project more in line with Autotools standard.

This commit is contained in:
Aaron Peschel
2011-11-30 21:06:11 -08:00
parent cb850e9ab9
commit 900194edee
5 changed files with 50 additions and 2 deletions

15
src/Makefile Normal file
View 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