source: drsdaq/VME/struck/sis1100/V2.02/test/Makefile.in@ 23

Last change on this file since 23 was 22, checked in by ogrimm, 16 years ago
First commit of drsdaq program
File size: 1.4 KB
Line 
1# $ZEL: Makefile.in,v 1.2 2002/08/19 10:54:35 wuestner Exp $
2
3srcdir = @srcdir@
4VPATH = @srcdir@
5@SET_MAKE@
6
7CC := gcc
8WFLAGS := -Wstrict-prototypes -Wmissing-prototypes \
9 -Wmissing-declarations-Wimplicit -Wreturn-type -Wunused \
10 -Wcomment -Wformat -Wuninitialized
11# -Werror
12
13DRIVERBASE := @driverbase@
14DRIVERINCLUDE:= $(DRIVERBASE)/common
15CPPFLAGS := -I$(DRIVERINCLUDE) -I.
16CFLAGS := -O3 -ansi $(WFLAGS)
17
18cfiles := $(notdir $(wildcard $(srcdir)/*.c))
19#cfiles := linkirqtest.c linkirqtest1.c frontirqtest.c test_mapsize.c \
20 frontin_3100.c frontin_1100.c frontout_3100.c frontout_1100.c \
21 maptest.c find_caen.c
22EXEC := $(cfiles:.c=)
23
24.PHONY: all
25all: $(EXEC)
26
27clean:
28 rm -f *.o core $(EXEC)
29
30realclean: clean
31 cp Makefile Makefile.bak
32 sed -e '/^# DO NOT DELETE THIS LINE/,$$d' < Makefile.bak > Makefile
33 echo '# DO NOT DELETE THIS LINE' >> Makefile
34 echo ' ' >> Makefile
35 rm Makefile.bak
36
37distclean: clean
38 rm -f *.bak *.bck Makefile
39 rm -f config.status configure config.cache config.log
40
41depend:
42 cp Makefile Makefile.bak
43 sed -e '/^# DO NOT DELETE THIS LINE/,$$d' < Makefile.bak > Makefile
44 echo '# DO NOT DELETE THIS LINE' >> Makefile
45 echo ' ' >> Makefile
46 for i in $(cfiles) ; do \
47 echo checking $$i ; \
48 $(CC) -M $(CPPFLAGS) $(srcdir)/$$i >> Makefile ; \
49 done
50# DO NOT DELETE THIS LINE
51
Note: See TracBrowser for help on using the repository browser.