summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2017-01-09 13:52:27 +0000
committerIan C <ianc@noddybox.co.uk>2017-01-09 13:52:27 +0000
commit3196c12dd83bcf88b3448264dc4afff87054541e (patch)
tree1a68c2aef5532369eaf841fffc6eeedb6c8bc838 /Makefile
parent0ea8e23456b44365d30ad8a80357c3a2711fee11 (diff)
Added README, additional instructions and removed (pointless) dependency file
from make.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 2 insertions, 11 deletions
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