Makefile 380 Bytes
Newer Older
Sven Robertz's avatar
Sven Robertz committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
liblabcomm.a : labcomm.o labcomm_fd_reader_writer.o
	ar -r liblabcomm.a labcomm.o labcomm_fd_reader_writer.o

labcomm.o : labcomm.c labcomm.h  labcomm_private.h
	gcc -c labcomm.c

labcomm_fd_reader_writer.o : labcomm_fd_reader_writer.c  labcomm_fd_reader_writer.h  labcomm.h  labcomm_private.h
	gcc -c labcomm_fd_reader_writer.c

clean:
	rm *.o

distclean: clean
	rm liblabcomm.a