From https://web.archive.org/web/20061215141801/http://www.netjunki.org/projects/wmcapshare-0.1.tar.gz
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			652 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			652 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
CC = gcc
 | 
						|
 | 
						|
bindir = /usr/local/bin
 | 
						|
 | 
						|
OPENOBEX_CONFIG = /usr/local/bin/openobex-config
 | 
						|
GLIB_CONFIG = /usr/bin/glib-config
 | 
						|
 | 
						|
all: wmcapshare
 | 
						|
 | 
						|
wmcapshare: wmcapshare.o obex_io.o obex_put_common.o
 | 
						|
	$(CC) `$(OPENOBEX_CONFIG) --libs` `$(GLIB_CONFIG) --libs` -o wmcapshare -ldockapp *.o
 | 
						|
 | 
						|
wmcapshare.o: wmcapshare.h wmcapshare.c version.h
 | 
						|
	$(CC) `$(GLIB_CONFIG) --cflags` -c wmcapshare.c
 | 
						|
 | 
						|
obex_io.o: obex_io.c obex_io.h
 | 
						|
	$(CC) `$(GLIB_CONFIG) --cflags` -c obex_io.c
 | 
						|
 | 
						|
obex_put_common.o: obex_put_common.c obex_put_common.h
 | 
						|
	$(CC) `$(GLIB_CONFIG) --cflags` -c obex_put_common.c
 | 
						|
 | 
						|
clean:
 | 
						|
	rm -f *.o wmcapshare
 | 
						|
 | 
						|
install: wmcapshare
 | 
						|
	cp wmcapshare $(bindir)/wmcapshare
 |