diff options
author | Ian C <ianc@noddybox.co.uk> | 2017-01-09 13:52:27 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2017-01-09 13:52:27 +0000 |
commit | 3196c12dd83bcf88b3448264dc4afff87054541e (patch) | |
tree | 1a68c2aef5532369eaf841fffc6eeedb6c8bc838 /Makefile | |
parent | 0ea8e23456b44365d30ad8a80357c3a2711fee11 (diff) |
Added README, additional instructions and removed (pointless) dependency file
from make.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -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 |