29 lines
592 B
Makefile
29 lines
592 B
Makefile
|
#!/bin/bash
|
||
|
#
|
||
|
# OPUS makefile
|
||
|
#
|
||
|
# Created on: Mar 04, 2010
|
||
|
# Author: ziemke
|
||
|
# Author: Claas Ziemke
|
||
|
# Copyright 2010, Claas Ziemke <claas.ziemke@gmx.net>
|
||
|
#
|
||
|
|
||
|
BASEDIR=../../
|
||
|
include $(BASEDIR)options.mk
|
||
|
|
||
|
OBJ = $(BUILDDIR)/ChannelResetHandler.o \
|
||
|
$(BUILDDIR)/RawCommandHandler.o \
|
||
|
$(BUILDDIR)/RawDataHandler.o \
|
||
|
$(BUILDDIR)/OPUSPollingSequence.o \
|
||
|
$(BUILDDIR)/PollingTask.o \
|
||
|
$(BUILDDIR)/Device.o \
|
||
|
$(BUILDDIR)/RmapCookie.o \
|
||
|
|
||
|
all: $(OBJ)
|
||
|
|
||
|
$(BUILDDIR)/%.o: %.cpp %.h
|
||
|
$(CPP) $(CFLAGS) $(DEFINES) $(CCOPT) ${INCLUDE} -c $< -o $@
|
||
|
|
||
|
clean:
|
||
|
$(RM) *.o *.gcno *.gcda
|