Blame view

USB/Makefile 236 Bytes
bcd81fea   dmohamed   UPDATE-AJout des ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  
  export CC = gcc
  
  export LDFLAGS = -l usb-1.0
  
  
  TARGET = usb_driver
  
  
  
  C_SRC = $(wildcard *.c)
  OBJS = $(C_SRC:.c=.o)
  
  all: $(TARGET)
  
  clean:
  	rm -f *.o 
  
  
  %.o:%.c
  	$(CC) -c  $< -o $@
  
  $(TARGET): $(OBJS)
  	$(CC) -o $@ $(OBJS) $(LDFLAGS)