# =========================================================================
#     This makefile was generated by
#     Bakefile 0.1.1 (http://bakefile.sourceforge.net)
#     Do not modify, all changes will be overwritten!
# =========================================================================




prefix = /usr/local
exec_prefix = ${prefix}
INSTALL = /usr//bin/install -c
AR = ar
CC = gcc
CFLAGS = -g -O2
CPPFLAGS = 
EXEEXT = 
LDFLAGS = 
RANLIB = ranlib
SETFILE = 
srcdir = .
top_builddir = ../

### Variables: ###

HELLO_CFLAGS = $(CPPFLAGS) $(CFLAGS)
HELLO_OBJECTS =  \
	hello_hello.o
MYLIB_CFLAGS = $(CPPFLAGS) $(CFLAGS)
MYLIB_OBJECTS =  \
	mylib_libfile.o

### Conditionally set variables: ###

CCC = $(top_builddir)./bk-deps $(CC)
#CCC = $(CC)
@COND_PLATFORM_MAC_1@__hello___mac_setfilecmd = \
@COND_PLATFORM_MAC_1@	$(SETFILE) -t APPL hello$(EXEEXT)

### Targets: ###

all: libmylib.a hello$(EXEEXT)

clean: 
	rm -rf ./.deps
	rm -f ./*.o
	rm -f libmylib.a
	rm -f hello$(EXEEXT)

distclean: clean
	rm -f configure config.cache config.log config.status
	rm -f bk-deps shared-ld-sh

hello$(EXEEXT): $(HELLO_OBJECTS) libmylib.a
	$(CC) -o $@ $(HELLO_OBJECTS) $(LDFLAGS)  libmylib.a
	
	$(__hello___mac_setfilecmd)

hello_hello.o: $(srcdir)/hello.c
	$(CCC) -c -o $@ $(HELLO_CFLAGS) $<

install: all

install-strip: install

libmylib.a: $(MYLIB_OBJECTS)
	rm -f $@
	$(AR) rcu $@ $(MYLIB_OBJECTS)
	$(RANLIB) $@

mylib_libfile.o: $(srcdir)/libfile.c
	$(CCC) -c -o $@ $(MYLIB_CFLAGS) $<

uninstall: 


# Include dependency info, if present:
-include .deps/*.d

.PHONY: all clean distclean install uninstall
