Blame view

Network/libnet/tests/makefile 421 Bytes
fee2cbd6   amoreau   ajout des librairies
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  BASE = ..
  
  include $(BASE)/port.mak
  
  CFLAGS = -O2 -Wall -Werror -Wno-unused -g -I$(INCDIR) -DTARGET_$(TARGET)
  
  
  TESTS = getdrvnm gentest rdmtest fixaddr classes dnstest
  
  EXES = $(addsuffix $(EXE_SUFFIX), $(TESTS))
  OBJS = $(addsuffix .o, $(TESTS))
  
  
  .PHONY: all clean cleaner veryclean
  
  all: $(EXES)
  
  $(EXES): $(LIBSRC)
  $(OBJS): $(INCSRC)
  
  clean:
  	$(RM_F) $(OBJS)
  
  cleaner: clean
  	$(RM_F) $(EXES) core
  
  veryclean: cleaner