Subversion Repositories Projects

Compare Revisions

Regard whitespace Rev 345 → Rev 346

/C-OSD/trunk/default/Makefile
35,7 → 35,7
 
 
## Objects that must be built in order to link
OBJECTS = main.o
OBJECTS = main.o usart1.o max7456_software_spi.o
 
## Objects explicitly added by the user
LINKONLYOBJECTS =
47,6 → 47,12
main.o: ../main.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
 
usart1.o: ../usart1.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
max7456_software_spi.o: ../max7456_software_spi.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
##Link
$(TARGET): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)
72,4 → 78,3
 
## Other dependencies
-include $(shell mkdir dep 2>/dev/null) $(wildcard dep/*)