Don't include headers in depend target
[fio.git] / Makefile
index e0ab0b8785a2add9cf17f91ea0470eec08f9ce1f..14fcdd13926cc801add67d56d261bb038124a471 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,3 @@
-#CC    = /opt/intel/cce/9.1.045/bin/icc
 CC     = gcc
 DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
 OPTFLAGS= -O2 -g $(EXTFLAGS)
@@ -47,14 +46,14 @@ fio: $(OBJS)
        $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -ldl -laio -lrt
 
 depend:
-       $(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c crc/*.[ch] 1> .depend
+       $(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) *.c engines/*.c crc/*.c 1> .depend
 
 $(PROGS): depend
 
 all: depend $(PROGS) $(SCRIPTS)
 
 clean:
-       -rm -f *.o .depend cscope.out $(PROGS) engines/*.o crc/*.o core.* core
+       -rm -f .depend cscope.out $(OBJS) $(PROGS) core.* core
 
 cscope:
        @cscope -b