Changeset 1e551bd for auto/output


Ignore:
Timestamp:
06/09/09 02:36:13 (15 years ago)
Author:
Mateusz Hromada <ruanda@…>
Branches:
master
Children:
9e0afb5
Parents:
12743b9
git-author:
Mateusz Hromada <ruanda@…> (06/09/09 01:46:50)
git-committer:
Mateusz Hromada <ruanda@…> (06/09/09 02:36:13)
Message:

Migration to new build system.

  • sen moved and checked
File:
1 edited

Legend:

Unmodified
Added
Removed
  • auto/output/Makefile

    r12743b9 r1e551bd  
    4343VPATH = ./src 
    4444 
    45 PROGRAMS = tok 
     45PROGRAMS = tok sen 
    4646 
    4747TOK_OBJ_FILES = tok.o tok_cmdline.o 
     
    4949TOK_GGO_FILES = tok_cmdline.ggo 
    5050tok.o: tok_cmdline.h 
     51 
     52SEN_OBJ_FILES = sen.o 
     53SEN_FLEX_FILES = sen.l 
    5154 
    5255CONFIG_FILES = src/config.h Makefile 
     
    5861.INTERMEDIATE: \$(patsubst %.ggo,%.c,\$(TOK_GGO_FILES)) 
    5962.INTERMEDIATE: \$(patsubst %.ggo,%.h,\$(TOK_GGO_FILES)) 
     63 
     64.INTERMEDIATE: \$(patsubst %.l,%.c,\$(SEN_FLEX_FILES)) 
    6065 
    6166.PHONY: all 
     
    8085        \$(RM) \$(patsubst %.ggo,%.c,\$(TOK_GGO_FILES)) 
    8186        \$(RM) \$(patsubst %.ggo,%.h,\$(TOK_GGO_FILES)) 
     87        \$(RM) \$(patsubst %.l,%.c,\$(SEN_FLEX_FILES)) 
    8288 
    8389.PHONY: distclean 
     
    100106 
    101107%.c: %.ggo 
    102         gengetopt --input $< --file-name \$(patsubst %.c,%,\$@) --conf-parser 
     108        gengetopt --input $< --file-name \$(basename \$@) --conf-parser 
    103109 
    104110%.h: %.ggo 
    105         gengetopt --input $< --file-name \$(patsubst %.h,%,\$@) --conf-parser 
     111        gengetopt --input $< --file-name \$(basename \$@) --conf-parser 
    106112 
    107113%: %.o 
Note: See TracChangeset for help on using the changeset viewer.