parser/calc/Makefile
changeset 39 46d7ec9d63bd
parent 38 48f6f3918b82
child 66 2b4f786d9073
equal deleted inserted replaced
38:48f6f3918b82 39:46d7ec9d63bd
     8 OBJECTS=main.o parser.o lexer.o
     8 OBJECTS=main.o parser.o lexer.o
     9 TARGET=calc
     9 TARGET=calc
    10 
    10 
    11 .SUFFIXES: .c .y .l
    11 .SUFFIXES: .c .y .l
    12 
    12 
    13 .c.o: 
    13 .c.o:
    14 	$(CC) -c $(CFLAGS) -I$(INCLUDE) $(CONFIG) $<
    14 	$(CC) -c $(CFLAGS) -I$(INCLUDE) $(CONFIG) $<
    15 
    15 
    16 .y.c:
    16 .y.c:
    17 	$(YACC) -d $< -o $@
    17 	$(YACC) -d $< -o $@
    18 
    18