Changeset 6a4aa56 in mainline


Ignore:
Timestamp:
2008-02-02T15:46:07Z (17 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a671cf0
Parents:
f52e6fea
Message:

Ash: fixed recursive Makefile.

Location:
uspace/app/ash/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/ash/tools/Makefile

    rf52e6fea r6a4aa56  
    3434
    3535OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
    36 OUTPUT := $(basename $(SOURCES))
     36OUTPUT := $(addprefix ../,$(basename $(SOURCES)))
    3737
    3838.PHONY: all clean move-output
    3939
    40 all: $(OUTPUT) move-output     
     40all: $(OUTPUT)
    4141
    42 #$(OUTPUT): $(OBJECTS)
    43 #       $(LD) $< $(LFLAGS) -o $@
    44 
    45 move-output:
    46         mv $(OUTPUT) ../
     42$(OUTPUT): $(OBJECTS)
     43        $(CC) $< $(LFLAGS) -o $@
    4744
    4845clean:
    4946        -rm -f $(OUTPUT) $(OBJECTS)
    50         ( cd ..; rm -f $(OUTPUT); )
    5147
    5248%.o: %.S
  • uspace/app/ash/tools/mksyntax.c

    rf52e6fea r6a4aa56  
    5757
    5858#include <stdio.h>
     59#include <stdlib.h>
    5960#include <string.h>
    6061#include <sys/types.h>
Note: See TracChangeset for help on using the changeset viewer.