~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/app/getterm/Makefile

  • Committer: Jiri Svoboda
  • Date: 2010-01-15 22:22:44 UTC
  • mfrom: (215.1.2 build)
  • Revision ID: jiri@wiwaxia-20100115222244-g1sqsaubra9aboru
Merge first attempt at decreasing userspace makefile madness.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
28
#
29
29
 
30
 
include Makefile.common
31
 
 
32
 
.PHONY: all clean
33
 
 
34
 
all: $(LIBC_PREFIX)/../../../version $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
35
 
        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
36
 
        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
37
 
 
38
 
clean:
39
 
        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
40
 
        find . -name '*.o' -follow -exec rm \{\} \;
 
30
include ../../../version
 
31
DEFS += -DRELEASE=$(RELEASE) "-DNAME=$(NAME)"
 
32
 
 
33
USPACE_PREFIX = ../..
 
34
LIBS = $(LIBC_PREFIX)/libc.a
 
35
 
 
36
OUTPUT = getterm
 
37
 
 
38
SOURCES = \
 
39
        getterm.c \
 
40
        version.c
 
41
 
 
42
include ../Makefile.common