Last change
on this file since 23 was 22, checked in by ogrimm, 16 years ago |
First commit of drsdaq program
|
File size:
458 bytes
|
Line | |
---|
1 | #
|
---|
2 | # Makefile
|
---|
3 | #
|
---|
4 |
|
---|
5 | CC = gcc
|
---|
6 | CFLAGS = -pipe -fthread-jumps -funroll-all-loops -g -O3 -Wall -Wuninitialized -Wmissing-prototypes -DOS_LINUX
|
---|
7 |
|
---|
8 | OBJECTS = sis3100.o sis3100_vme_calls.o
|
---|
9 | SOURCES = sis3100.c sis3100_vme_calls.c
|
---|
10 |
|
---|
11 | all: $(OBJECTS)
|
---|
12 |
|
---|
13 | clean:
|
---|
14 | @rm -f *.o
|
---|
15 | @rm -f *~
|
---|
16 | @rm -f *.d
|
---|
17 |
|
---|
18 | include Dep.d
|
---|
19 |
|
---|
20 | %.d :
|
---|
21 | @echo " - Generating dependencies" $@
|
---|
22 | @$(CC) -MM $(SOURCES) $(INCDIRS) \
|
---|
23 | | sed 's/^\(.*\).o:/$@ \1.o:/' > $@
|
---|
24 |
|
---|
25 | %.o : %.c
|
---|
26 | $(CC) $(CFLAGS) -c -o $@ $<
|
---|
Note:
See
TracBrowser
for help on using the repository browser.