Project

General

Profile

Revision 1020

Now runs at a reasonable speed.

View differences:

Makefile
12 12
# USE_WIRELESS = 1
13 13

  
14 14
# Relative path to the root directory (containing lib directory)
15
PROJECTSROOT = ..
15 16
ifndef COLONYLIB
16
COLONYLIB = ../../lib
17
COLONYLIB = $(PROJECTSROOT)/../lib
17 18
endif
18 19

  
19 20
#
......
292 293
REMOVE = rm -f
293 294
REMOVEDIR = rm -rf
294 295
COPY = cp
296
CP = cp
295 297
WINSHELL = cmd
296 298

  
297 299

  
......
338 340
all: begin gccversion sizebefore build sizeafter end
339 341

  
340 342
build: elf hex eep lss sym
341
sim: $(SIMOBJ)
343
sim: dist
344

  
345
buildsim: $(SIMOBJ)
342 346
	$(SIMCC) $(SIMALL_CFLAGS) $^ -o $(TARGET) $(SIMLDFLAGS)
347
dist: buildsim
348
	$(CP) $(TARGET) $(PROJECTSROOT)/simulator/simulator/bin/
343 349

  
344 350
%.obj : %.c
345 351
	$(SIMCC) -c $(SIMALL_CFLAGS) $< -o $@

Also available in: Unified diff