Simple single-color 8x8x8 LED Cube with AVRs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makefile 220B

1234567891011121314151617181920
  1. CC = gcc
  2. SRC = main.c
  3. SRC += serial.c
  4. SRC += mem.c
  5. TARGET = cubeEmu
  6. OBJ = $(SRC:.c=.o)
  7. all: $(TARGET)
  8. $(TARGET): $(OBJ)
  9. $(CC) -o $(TARGET) $(OBJ)
  10. %.o: %.c
  11. $(CC) -x c -c $< -o $@
  12. clean:
  13. $(RM) *.o
  14. $(RM) $(TARGET)