source: drsdaq/VME/struck/Makefile@ 23

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
5CC = gcc
6CFLAGS = -pipe -fthread-jumps -funroll-all-loops -g -O3 -Wall -Wuninitialized -Wmissing-prototypes -DOS_LINUX
7
8OBJECTS = sis3100.o sis3100_vme_calls.o
9SOURCES = sis3100.c sis3100_vme_calls.c
10
11all: $(OBJECTS)
12
13clean:
14 @rm -f *.o
15 @rm -f *~
16 @rm -f *.d
17
18include 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.