My favorites | Sign in
Project Home Downloads Wiki Issues Source
Repository:
Checkout   Browse   Changes   Clones  
Changes to /classification/libncd/z/Makefile
000000000000 vs. 0136ea839f68 Compare: vs.  Format:
Revision 0136ea839f68
Go to: 
Project members, sign in to write a code review
/classification/libncd/z/Makefile /classification/libncd/z/Makefile   0136ea839f68
  1 SRC = z.c
  2
  3 LDFLAGS = -lz
  4 CFLAGS += -Wall
  5 mkdir = mkdir -p
  6 CD = cd
  7 RM = rm -f
  8
  9 OBJ = $(SRC:.c=.o)
  10
  11 .SILENT:
  12
  13 all : $(OBJ) test
  14
  15 test :
  16 $(CC) -c test_z.c $(CFLAGS)
  17 $(CC) -o test_z test_z.o $(OBJ) $(LDFLAGS)
  18
  19 clean :
  20 $(RM) *.o test_z
  21
  22 %.o : %.c
  23 echo " CC $@"
  24 $(CC) $(CFLAGS) -c -o $@ $<
Powered by Google Project Hosting