Subversion Repositories Projects

Compare Revisions

Regard whitespace Rev 512 → Rev 513

/QMK-Groundstation/branches/libMK/libMK/Makefile
0,0 → 1,30
TARGET = UNIX
 
CPP = g++
RM = rm -f
MAKE = make
 
CXXINCS = -I"./" -I"../"
CXXFLAGS = $(CXXINCS) -O3
 
LINKOBJ = Kopter.o FlightLog.o Parser.o Communication.o Handler.o
 
all: all-before $(LINKOBJ)
 
all-before: depend
 
depend:
@$(CPP) $(CXXINCS) -MM *.cpp > depend
 
#kopter.o is only a header
Kopter.o: Kopter.h
 
#all other files have .cpp files
%.o : %.cpp
$(CPP) $(CXXFLAGS) -c -o $@ $<
 
clean-custom:
 
clean: clean-custom
${RM} $(LINKOBJ) depend *~ *.a