25 lines
446 B
Makefile
25 lines
446 B
Makefile
|
#!/bin/bash
|
||
|
#
|
||
|
# OSAL 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)/PeriodicTask.o \
|
||
|
$(BUILDDIR)/ObjectTask.o \
|
||
|
$(BUILDDIR)/TaskBase.o
|
||
|
|
||
|
all: $(OBJ)
|
||
|
|
||
|
$(BUILDDIR)/%.o: %.cpp %.h
|
||
|
$(CPP) $(CFLAGS) $(DEFINES) $(CCOPT) ${INCLUDE} -c $< -o $@
|
||
|
|
||
|
clean:
|
||
|
$(RM) *.o *.gcno *.gcda
|