serial : a small test main()

This commit is contained in:
2018-12-12 20:07:49 +01:00
parent 933365b883
commit cda7b7f45e
7 changed files with 54 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
OPT = -Wall -DDEBUG_LEVEL=1
serial.o: serial.c serial.h Makefile
gcc -Wall -c $<
gcc ${OPT} -c $<
t: t.c serial.o Makefile
gcc -Wall $< serial.o -o $@
gcc ${OPT} $< serial.o -o $@