# # Makefile # CC = gcc CFLAGS = -pipe -fthread-jumps -funroll-all-loops -g -O3 -Wall -Wuninitialized -Wmissing-prototypes -DOS_LINUX OBJECTS = sis3100.o sis3100_vme_calls.o SOURCES = sis3100.c sis3100_vme_calls.c all: $(OBJECTS) clean: @rm -f *.o @rm -f *~ @rm -f *.d include Dep.d %.d : @echo " - Generating dependencies" $@ @$(CC) -MM $(SOURCES) $(INCDIRS) \ | sed 's/^\(.*\).o:/$@ \1.o:/' > $@ %.o : %.c $(CC) $(CFLAGS) -c -o $@ $<