Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.49 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. CFLAGS = -Wall -g `pkg-config --cflags libgda-4.0`
  2. LDFLAGS = `pkg-config --libs libgda-4.0`
  3.  
  4. all: table-copy table-copy-easier
  5.  
  6. table-copy: table-copy.c common.o
  7.         $(CC) -o table-copy common.o table-copy.c $(CFLAGS) $(LDFLAGS)
  8.  
  9. table-copy-easier: table-copy-easier.c common.o
  10.         $(CC) -o table-copy-easier common.o table-copy-easier.c $(CFLAGS) $(LDFLAGS)
  11.  
  12. common.o: common.h common.c
  13.         $(CC) -c -o common.o common.c $(CFLAGS)
  14.  
  15. clean:
  16.         rm -f *~
  17.         rm -f *.o
  18.         rm -f table-copy table-copy-easier
  19.         rm -f copy.db