13 lines
213 B
Makefile
13 lines
213 B
Makefile
|
|
OPT = -Wall -DDEBUG_LEVEL=1
|
|
|
|
serial.o: serial.c serial.h Makefile
|
|
gcc ${OPT} -c $<
|
|
|
|
funcs.o: funcs.c serial.h Makefile
|
|
gcc ${OPT} -c $<
|
|
|
|
t: t.c serial.o funcs.o Makefile
|
|
gcc ${OPT} $< serial.o funcs.o -o $@
|
|
|