equal
deleted
inserted
replaced
|
1 # Makefile for the Meilhaus me8100 driver module |
|
2 # If you are in the directory /me8100 where the Makefile and the sources |
|
3 # resides, you can use the make command with following parmeters: |
|
4 # $make generates me8100.o which is the driver module |
|
5 # $make test8100 generates the executable test8100 |
|
6 # $make test8100i generates the executable test8100i |
|
7 # $make clean deletes all files including *.o and *~ |
|
8 |
|
9 me8100.o:me8100.c me8100.h |
|
10 gcc -c me8100.c -Wall -O |
|
11 |
|
12 test8100:test8100.o |
|
13 gcc -o test8100 test8100.o |
|
14 |
|
15 test8100.o:test8100.c me8100.h |
|
16 gcc -c test8100.c -Wall -O |
|
17 |
|
18 test8100i:test8100i.o |
|
19 gcc -o test8100i test8100i.o |
|
20 |
|
21 test8100i.o:test8100i.c me8100.h |
|
22 gcc -c test8100i.c -Wall -O |
|
23 |
|
24 clean: |
|
25 rm -f *.o *~ |