Skip to content
Makefile 319 B
Newer Older
include ../External_Functions/compile.mk

SOURCE = Serial.c
OBJECTS = util.o matrix_op.o timer.o input.o
PROGRAMS= Serial.exe

all: $(PROGRAMS)

Serial.exe: $(OBJECTS) $(SOURCE)
	$(CPU_COMPILE) $(SOURCE) -o $@ $(OBJECTS)

%.o: $(EXT_DIR)%.c
	$(CPU_COMPILE_OBJ) -o $@ $<

%.o: %.h

clean:
	$(RM) $(PROGRAMS) $(OBJECTS)