From 3196c12dd83bcf88b3448264dc4afff87054541e Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 9 Jan 2017 13:52:27 +0000 Subject: Added README, additional instructions and removed (pointless) dependency file from make. --- Makefile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9b2b6ee..4a959fe 100644 --- a/Makefile +++ b/Makefile @@ -33,24 +33,15 @@ LIBS = -lX11 -lm FLAGS = -g -I/usr/X11R6/include -L/usr/X11R6/lib -DEPEND = depend.mak - $(TARGET): $(OBJECTS) $(CC) $(FLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) %.o: %.c $(CC) $(CFLAGS) $(CPPFLAGS) $(FLAGS) $(TRACE) -c $< -o $@ --include depend.mak +xd.o: xd.c clean: - -rm $(TARGET) $(TARGET).exe core *.stackdump *.o depend.mak - -depend: $(DEPEND) - @echo Dependencies updated.... - -$(DEPEND): $(SOURCES) $(HEADERS) - $(CC) $(FLAGS) -MM $(SOURCES) > $(DEPEND) - + -rm -f $(TARGET) $(TARGET).exe core *.stackdump *.o # END OF FILE -- cgit v1.2.3