Project

General

Profile

Revision 1499

implemented recursive makefile system

View differences:

Makefile
1
########Update This Section########
2
#
3
#
1
# this is a local makefile
4 2

  
5 3
# Relative path to the root directory (containing lib directory)
6 4
ifndef COLONYROOT
7
COLONYROOT = ../../..
8
endif
5
COLONYROOT = ..
9 6

  
10 7
# Target file name (without extension).
11 8
TARGET = main
......
16 13
# com1 = serial port. Use lpt1 to connect to parallel port.
17 14
AVRDUDE_PORT = $(shell if uname -s |grep -i w32 >/dev/null; then echo 'COM4:'; else echo '/dev/ttyUSB0'; fi)
18 15

  
19
include $(COLONYROOT)/code/makefile_root.mk
16
else
17
COLONYROOT := ../$(COLONYROOT)
18
endif
19

  
20
include $(COLONYROOT)/Makefile

Also available in: Unified diff