mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 21:24:59 +00:00
Fix for xmltok in subdir
This commit is contained in:
parent
9a238f3471
commit
3795b9486f
1 changed files with 4 additions and 4 deletions
|
@ -3,8 +3,8 @@ CFLAGS=-O2 -I. -Ixmlparse
|
|||
# Use one of the next two lines; unixfilemap is better if it works.
|
||||
FILEMAP_OBJ=xmlwf/unixfilemap.o
|
||||
#FILEMAP_OBJ=xmlwf/readfilemap.o
|
||||
OBJS=xmltok.o \
|
||||
xmlrole.o \
|
||||
OBJS=xmltok/xmltok.o \
|
||||
xmltok/xmlrole.o \
|
||||
xmlwf/xmlwf.o \
|
||||
xmlparse/xmlparse.o \
|
||||
xmlparse/hashtable.o \
|
||||
|
@ -19,14 +19,14 @@ xmlwf/xmlwf$(EXE): $(OBJS)
|
|||
clean:
|
||||
rm -f $(OBJS) xmlwf/xmlwf$(EXE)
|
||||
|
||||
nametab.h: gennmtab/gennmtab$(EXE)
|
||||
xmltok/nametab.h: gennmtab/gennmtab$(EXE)
|
||||
rm -f $@
|
||||
gennmtab/gennmtab$(EXE) >$@
|
||||
|
||||
gennmtab/gennmtab$(EXE): gennmtab/gennmtab.c
|
||||
$(CC) $(CFLAGS) -o $@ gennmtab/gennmtab.c
|
||||
|
||||
xmltok.o: nametab.h
|
||||
xmltok/xmltok.o: xmltok/nametab.h
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
|
Loading…
Add table
Reference in a new issue