Makefile 391 Bytes
Newer Older
1
2
3
4
5
CC = gcc
CFLAGS = -g

liblabcomm.a : labcomm.o labcomm_fd_reader_writer.o ethaddr.o
	ar -r liblabcomm.a labcomm.o labcomm_fd_reader_writer.o ethaddr.o
Sven Robertz's avatar
Sven Robertz committed
6
7
8
9

labcomm.o : labcomm.c labcomm.h  labcomm_private.h

labcomm_fd_reader_writer.o : labcomm_fd_reader_writer.c  labcomm_fd_reader_writer.h  labcomm.h  labcomm_private.h
10
11

ethaddr.o: ethaddr.c
Sven Robertz's avatar
Sven Robertz committed
12
13
14
15
16
17

clean:
	rm *.o

distclean: clean
	rm liblabcomm.a