comparison Makefile @ 2:f362b20de51e

Remove trailing whitespaces.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 22 Feb 2015 18:03:26 +0100
parents 05c8e0aef77d
children
comparison
equal deleted inserted replaced
1:05c8e0aef77d 2:f362b20de51e
18 restartOp.c \ 18 restartOp.c \
19 service.c \ 19 service.c \
20 uinput.c \ 20 uinput.c \
21 XML.c 21 XML.c
22 22
23 LDFLAGSdspad_server=$(LDFLAGS) 23 LDFLAGSdspad_server=$(LDFLAGS)
24 24
25 OBJECTSdspad_server=$(FILESdspad_server:.c=.o) 25 OBJECTSdspad_server=$(FILESdspad_server:.c=.o)
26 26
27 #------------- Appli -------------- 27 #------------- Appli --------------
28 28
36 #------------------------------------ 36 #------------------------------------
37 37
38 .c.o : 38 .c.o :
39 $(CCC) $(CCFLAGS) -c $< \ 39 $(CCC) $(CCFLAGS) -c $< \
40 -o $*.o 40 -o $*.o
41 41
42 dep : 42 dep :
43 @echo "======== Mise a jour des dependances : .depend ========" 43 @echo "======== Mise a jour des dependances : .depend ========"
44 @rm -f .depend 44 @rm -f .depend
45 @for i in *.c ; do \ 45 @for i in *.c ; do \
46 echo $$i ; \ 46 echo $$i ; \
49 cat .tmpdepend | \ 49 cat .tmpdepend | \
50 sed -e s%`basename $$i .c`\\\.o%$$OBJNAME% >> .depend ; \ 50 sed -e s%`basename $$i .c`\\\.o%$$OBJNAME% >> .depend ; \
51 echo >> .depend ; \ 51 echo >> .depend ; \
52 done 52 done
53 @rm -f .tmpdepend 53 @rm -f .tmpdepend
54 54
55 CLEANING=rm -f *.o core a.out $(TARGET) .depend 55 CLEANING=rm -f *.o core a.out $(TARGET) .depend
56 CONSEIL=echo Penser a faire : make -f Makefile dep 56 CONSEIL=echo Penser a faire : make -f Makefile dep
57 57
58 clear : 58 clear :
59 @$(CLEANING) 59 @$(CLEANING)
60 @echo 60 @echo
61 @$(CONSEIL) 61 @$(CONSEIL)
62 @echo 62 @echo